Thread (6 messages) 6 messages, 3 authors, 2020-02-21

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

flat view

From: Linus Walleij <hidden>
Date: 2020-02-21 14:15:15
Also in: linux-gpio, lkml

On Fri, Jan 17, 2020 at 10:33 PM Samuel Holland [off-list ref] 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help