Commit 4b5022b6 authored by Sam Shih's avatar Sam Shih Committed by Greg Kroah-Hartman
Browse files

pinctrl: mediatek: moore: check if pin_desc is valid before use



[ Upstream commit d8b94c9f ]

Certain SoC are missing the middle part gpios in consecutive pins,
it's better to check if mtk_pin_desc is a valid pin for the extensibility

Signed-off-by: default avatarSam Shih <sam.shih@mediatek.com>
Acked-by: default avatarSean Wang <sean.wang@mediatek.com>
Link: https://lore.kernel.org/r/20210914085137.31761-5-sam.shih@mediatek.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Stable-dep-of: 705c7910 ("smb: client: fix use-after-free in cifs_oplock_break")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8ba6c236
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment