Re: [PATCH v1 1/2] gpio: tegra: Fix wake interrupt

From: Linus Walleij
Date: Mon Jan 18 2021 - 08:42:10 EST


On Tue, Jan 12, 2021 at 2:30 PM Dmitry Osipenko <digetx@xxxxxxxxx> wrote:

> The GPIO bank wake interrupt setting was erroneously removed after
> conversion to gpio_irq_chip, thus the wake interrupt programming is
> broken now. Secondly, the wake_enb of the GPIO driver should be changed
> only after the successful toggling of the IRQ wake-state. Restore the wake
> interrupt setting and the programming order.
>
> Fixes: efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip")
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>

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

Yours,
Linus Walleij