Skip to content
Commit d8b94c9f authored by Sam Shih's avatar Sam Shih Committed by Linus Walleij
Browse files

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



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>
parent 6880fa6c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment