diff options
author | Samuel Holland <samuel@sholland.org> | 2020-01-17 15:33:39 -0600 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-02-21 15:14:24 +0100 |
commit | a59c99d9eaf90e6426d9bfe3b0a5e5b78010c72e (patch) | |
tree | 0f013d54900496759a4919558968fe27681740ea /drivers/pinctrl/core.h | |
parent | 86ecb7d6853c77711c14cb6600179196f179ee2d (diff) | |
download | linux-a59c99d9eaf90e6426d9bfe3b0a5e5b78010c72e.tar.gz linux-a59c99d9eaf90e6426d9bfe3b0a5e5b78010c72e.tar.bz2 linux-a59c99d9eaf90e6426d9bfe3b0a5e5b78010c72e.zip |
pinctrl: sunxi: Forward calls to irq_set_irq_wake
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>
Link: https://lore.kernel.org/r/20200117213340.47714-1-samuel@sholland.org
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.h')
0 files changed, 0 insertions, 0 deletions