Re: [PATCH v4 4/4] gpio: rockchip: Set input direction when request irq

From: Linus Walleij
Date: Wed Nov 13 2024 - 08:25:34 EST


On Mon, Nov 11, 2024 at 3:34 AM Ye Zhang <ye.zhang@xxxxxxxxxxxxxx> wrote:

> Since the GPIO can only generate interrupts when its direction is set to
> input, it is set to input before requesting the interrupt resources.
>
> Signed-off-by: Ye Zhang <ye.zhang@xxxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij