Messages in this thread | | | From | Linus Walleij <> | Date | Fri, 21 Feb 2020 15:15:01 +0100 | Subject | Re: [PATCH 1/2] pinctrl: sunxi: Forward calls to irq_set_irq_wake |
| |
On Fri, Jan 17, 2020 at 10:33 PM Samuel Holland <samuel@sholland.org> 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@sholland.org>
Patch applied with Maxime's ACK.
Yours, Linus Walleij
| |