summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-ocelot.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2020-01-18 00:33:40 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-02-21 17:16:08 +0300
commit8587b21c599e2874233cc5bbea7d0b18f4b62963 (patch)
tree896f782f9ee9e3ea78d172e040e48d8869a2f4ec /drivers/pinctrl/pinctrl-ocelot.c
parenta59c99d9eaf90e6426d9bfe3b0a5e5b78010c72e (diff)
downloadlinux-8587b21c599e2874233cc5bbea7d0b18f4b62963.tar.xz
pinctrl: sunxi: Mask non-wakeup IRQs on suspend
The pin controller hardware does not distinguish IRQs intended for wakeup from other IRQs, so we must mask non-wakeup IRQs in software to prevent inadvertent wakeups. This is accomplished at the irqchip level via the IRQCHIP_MASK_ON_SUSPEND flag. Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20200117213340.47714-2-samuel@sholland.org Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-ocelot.c')
0 files changed, 0 insertions, 0 deletions