summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-stp-xway.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-05-26 14:34:02 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-06-01 17:55:25 +0300
commitffb8e44bd7617ede81d526d33d13d96a2c6a6e20 (patch)
tree08dceb61e75f5e0b3715d8fa93de8583b268afcd /drivers/gpio/gpio-stp-xway.c
parent08b085a07efe12568d86dff064e6f089e2971744 (diff)
downloadlinux-ffb8e44bd7617ede81d526d33d13d96a2c6a6e20.tar.xz
gpio: pcf857x: Check for irq_set_irq_wake() failures
If an interrupt controller doesn't support wake-up configuration, irq_set_irq_wake() returns an error code. Then any subsequent call trying to deconfigure wake-up will cause an imbalance, and a warning will be printed: WARNING: CPU: 1 PID: 1341 at kernel/irq/manage.c:540 irq_set_irq_wake+0x Unbalanced IRQ 26 wake disable To fix this, refrain from any further parent interrupt controller (de)configuration if irq_set_irq_wake() failed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-stp-xway.c')
0 files changed, 0 insertions, 0 deletions