aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-cdev.c
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-06-17 15:54:13 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-06-21 20:43:52 +0200
commit3093e6cca3ba7d47848068cb256c489675125181 (patch)
tree76031bc3b8b0175995a07de459862d8a04344f98 /drivers/gpio/gpiolib-cdev.c
parentgpio: wcd934x: Fix shift-out-of-bounds error (diff)
downloadlinux-dev-3093e6cca3ba7d47848068cb256c489675125181.tar.xz
linux-dev-3093e6cca3ba7d47848068cb256c489675125181.zip
gpio: mxc: Fix disabled interrupt wake-up support
A disabled/masked interrupt marked as wakeup source must be re-enable and unmasked in order to be able to wake-up the host. That can be done by flaging the irqchip with IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND. Note: It 'sometimes' works without that change, but only thanks to the lazy generic interrupt disabling (keeping interrupt unmasked). Reported-by: Michal Koziel <michal.koziel@emlogic.no> Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpiolib-cdev.c')
0 files changed, 0 insertions, 0 deletions