Re: [PATCH 1/2] pinctrl: sunxi: Forward calls to irq_set_irq_wake

From: Linus Walleij
Date: Fri Feb 21 2020 - 09:15:15 EST


On Fri, Jan 17, 2020 at 10:33 PM Samuel Holland <samuel@xxxxxxxxxxxx> wrote:

> The pinctrl irqchip may be connected to an irqchip that implements the
> .irq_set_wake callback, such as the R_INTC on A31 and newer sunxi SoCs.
> In order for GPIOs to be able to trigger wakeup, the IRQ from the
> pinctrl to the upper irqchip must also be enabled for wakeup. Since the
> kernel's IRQ core already manages the "wake_depth" of each IRQ, no
> additional accounting is needed in the pinctrl driver.
>
> Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>

Patch applied with Maxime's ACK.

Yours,
Linus Walleij