diff options
author | Sam Shih <sam.shih@mediatek.com> | 2021-09-14 16:51:32 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-09-16 12:06:28 +0200 |
commit | d8b94c9ff96c2024a527086d850eb0b314337ff9 (patch) | |
tree | 56601f6b0f74cac5a11723a3578b9989719688fe /drivers/pinctrl/mediatek/pinctrl-mt8183.c | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
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: 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>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mt8183.c')
0 files changed, 0 insertions, 0 deletions