diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-03-18 19:41:09 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-03-26 10:25:32 +0100 |
commit | ab82fa7da4dce5c728730d7aa0e11a2cbc9266da (patch) | |
tree | 9dbd5bda183455a012a4dba19a507cc5c3c14767 /drivers/block | |
parent | 3dc1e6852115b3163e7dacc76bbcb78ccff29421 (diff) |
gpio: rcar: Prevent module clock disable when wake-up is enabled
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@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions