Geert Uytterhoeven ffb8e44bd7 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>
2015-06-01 16:55:25 +02:00
..
2015-03-17 17:45:59 +01:00
2014-12-14 16:10:09 -08:00
2015-05-13 10:02:12 +02:00
2014-12-14 16:10:09 -08:00
2015-01-20 11:03:07 +01:00
2015-05-05 17:50:07 +02:00
2015-05-12 09:41:28 +02:00
2015-05-12 09:41:28 +02:00
2015-01-22 09:45:24 +01:00
2014-12-14 16:10:09 -08:00
2015-05-19 16:52:30 +02:00
2015-05-12 10:13:41 +02:00