Geert Uytterhoeven
b80eef95be
gpio: pcf857x: Propagate wake-up setting to parent irq controller
...
The pcf857x GPIO and interrupt controller uses dummy_irq_chip, which
does not implement irq_chip.irq_set_wake() and does not set
IRQCHIP_SKIP_SET_WAKE.
This causes two s2ram issues if wake-up is enabled for the pcf857x GPIO
pins:
1. During resume from s2ram, the following warning is printed:
WARNING: CPU: 0 PID: 1046 at kernel/irq/manage.c:537 irq_set_irq_wake+0x9c/0xf8()
Unbalanced IRQ 113 wake disable
2. Wake-up through the pcf857x GPIO pins may fail, as the parent
interrupt controller may be suspended.
Migrate the pcf857x GPIO and interrupt controller from dummy_irq_chip to
its own irq_chip. This irq chip implements irq_chip.irq_set_wake() to
propagate its wake-up setting to the parent interrupt controller.
This fixes wake-up through gpio-keys on sh73a0/kzm9g, where the pcf857x
interrupt is cascaded to irq-renesas-intc-irqpin, and the latter must
not be suspended when wake-up is enabled.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2015-03-04 13:50:46 +01:00
..
2014-11-04 21:58:23 +01:00
2014-07-22 16:39:26 +02:00
2014-10-21 10:48:04 +02:00
2014-09-02 10:44:01 +02:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2015-01-19 09:48:45 +01:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2014-08-29 14:31:43 +02:00
2014-10-20 16:20:31 +02:00
2015-01-14 14:12:02 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2015-01-20 11:03:07 +01:00
2015-01-15 17:23:21 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2015-01-29 10:33:15 +01:00
2015-01-19 11:07:00 +01:00
2015-01-20 11:03:07 +01:00
2014-10-20 16:20:31 +02:00
2014-06-19 09:31:16 +02:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-02 16:07:00 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2015-03-02 15:44:08 +01:00
2013-03-27 16:05:11 +01:00
2013-08-23 19:44:28 +02:00
2015-03-02 15:35:41 +01:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2015-01-26 09:10:44 +01:00
2014-07-22 16:39:26 +02:00
2015-01-20 11:18:51 +01:00
2015-01-09 10:24:29 +01:00
2015-01-21 17:45:11 +01:00
2015-01-20 11:18:28 +01:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2015-01-15 17:23:24 +01:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2015-01-26 09:10:44 +01:00
2014-07-22 16:39:26 +02:00
2014-08-28 14:19:40 +02:00
2015-03-04 13:50:46 +01:00
2014-10-02 16:07:00 +02:00
2014-12-03 14:44:23 +01:00
2015-02-03 13:40:29 +01:00
2014-10-20 16:20:31 +02:00
2015-01-15 17:23:25 +01:00
2014-07-22 16:39:26 +02:00
2015-01-29 15:24:49 +00:00
2014-09-23 17:51:39 +02:00
2014-07-22 16:39:26 +02:00
2015-01-29 13:46:29 +01:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2015-01-20 11:03:22 +01:00
2014-12-14 16:10:09 -08:00
2015-01-22 09:45:24 +01:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2015-01-15 17:23:19 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2015-01-29 10:34:13 +01:00
2015-01-15 17:23:21 +01:00
2014-07-22 16:39:26 +02:00
2015-01-15 17:23:20 +01:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2015-01-15 17:23:18 +01:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2015-01-20 10:34:52 +01:00
2014-10-20 16:20:31 +02:00
2015-01-15 17:23:18 +01:00
2014-10-20 16:20:31 +02:00
2015-01-20 11:18:56 +01:00
2014-12-04 00:51:30 +01:00
2014-12-14 14:05:05 -08:00
2014-12-02 15:46:36 +01:00
2015-03-04 11:09:00 +01:00
2015-01-30 10:29:33 +01:00
2015-03-04 11:09:00 +01:00
2015-03-04 11:09:00 +01:00
2015-03-04 13:48:34 +01:00
2015-01-20 11:23:18 +01:00