diff options
author | Hanks Chen <hanks.chen@mediatek.com> | 2020-08-20 19:22:25 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-10-01 09:51:36 +0200 |
commit | 39c4dbe4cc363accd676162c24b264f44c581490 (patch) | |
tree | ec17602cc3ad8d1563864f0429e2e6bf23cc05aa /fs/proc_namespace.c | |
parent | 5d8ff95a52c36740bf4e61202d08549e7a9caf20 (diff) | |
download | linux-39c4dbe4cc363accd676162c24b264f44c581490.tar.bz2 |
pinctrl: mediatek: check mtk_is_virt_gpio input parameter
check mtk_is_virt_gpio input parameter,
virtual gpio need to support eint mode.
add error handler for the ko case
to fix this boot fail:
pc : mtk_is_virt_gpio+0x20/0x38 [pinctrl_mtk_common_v2]
lr : mtk_gpio_get_direction+0x44/0xb0 [pinctrl_paris]
Fixes: edd546465002 ("pinctrl: mediatek: avoid virtual gpio trying to set reg")
Signed-off-by: Hanks Chen <hanks.chen@mediatek.com>
Acked-by: Sean Wang <sean.wang@kernel.org>
Singed-off-by: Jie Yang <sin_jieyang@mediatek.com>
Link: https://lore.kernel.org/r/1597922546-29633-1-git-send-email-hanks.chen@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/proc_namespace.c')
0 files changed, 0 insertions, 0 deletions