Files
linux-stable-mirror/drivers/pinctrl/mediatek
Sam Shih 4b5022b649 pinctrl: mediatek: moore: check if pin_desc is valid before use
[ Upstream commit d8b94c9ff9 ]

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: Sam Shih <sam.shih@mediatek.com>
Acked-by: Sean Wang <sean.wang@mediatek.com>
Link: https://lore.kernel.org/r/20210914085137.31761-5-sam.shih@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Stable-dep-of: 705c79101c ("smb: client: fix use-after-free in cifs_oplock_break")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:24:01 +02:00
..