Re: [PATCH v2] pinctrl: mediatek: check mtk_is_virt_gpio input parameter

From: Linus Walleij
Date: Wed Sep 30 2020 - 04:48:54 EST


On Thu, Aug 20, 2020 at 1:22 PM Hanks Chen <hanks.chen@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>
> Signed-off-by: Hanks Chen <hanks.chen@xxxxxxxxxxxx>
>
> ---
> Changes since v1:
> - update Singed-off-by
> - align with pinctrl/mediatek/pinctrl-mtk-mt*.h

Patch applied.

Yours,
Linus Walleij