[PATCH v2] pinctrl: mediatek: check mtk_is_virt_gpio input parameter
Linus Walleij
linus.walleij at linaro.org
Wed Sep 30 04:48:39 EDT 2020
On Thu, Aug 20, 2020 at 1:22 PM Hanks Chen <hanks.chen at mediatek.com> wrote:
> 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")
> Singed-off-by: Jie Yang <sin_jieyang at mediatek.com>
> Signed-off-by: Hanks Chen <hanks.chen at mediatek.com>
>
> ---
> Changes since v1:
> - update Singed-off-by
> - align with pinctrl/mediatek/pinctrl-mtk-mt*.h
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list