pinctrl: mediatek: avoid virtual gpio trying to set reg
authorHanks Chen <hanks.chen@mediatek.com>
Thu, 23 Jul 2020 11:19:53 +0000 (19:19 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Aug 2020 23:29:09 +0000 (01:29 +0200)
commitedd546465002621665a3a275abe908a30efdce5b
treedf9c402f5e01442998b4a720be5927c0a8ebfd47
parentb07b616214857c9db01e2807cde2f6bba8019fc3
pinctrl: mediatek: avoid virtual gpio trying to set reg

for virtual gpios, they should not do reg setting and
should behave as expected for eint function.

Signed-off-by: Mars Cheng <mars.cheng@mediatek.com>
Signed-off-by: Hanks Chen <hanks.chen@mediatek.com>
Acked-by: Sean Wang <sean.wang@kernel.org>
Link: https://lore.kernel.org/r/1595503197-15246-4-git-send-email-hanks.chen@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
drivers/pinctrl/mediatek/pinctrl-paris.c