On Wed, Mar 18, 2015 at 7:41 PM, Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote: > When the GPIO module is needed for wake-up, it's module clock must not > be disabled. Hence implement irq_chip.irq_set_wake(), which > increments/decrements the clock's enable_count when needed, and forwards > the wake-up state to the upstream interrupt controller. > > This fixes wake-up from s2ram using gpio-keys when using a PM Domain to > manage the module clock. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html