diff options
author | 2015-03-18 19:41:09 +0100 | |
---|---|---|
committer | 2015-03-26 10:25:32 +0100 | |
commit | ab82fa7da4dce5c728730d7aa0e11a2cbc9266da (patch) | |
tree | 9dbd5bda183455a012a4dba19a507cc5c3c14767 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gpio: rcar: Add more register documentation (diff) | |
download | wireguard-linux-ab82fa7da4dce5c728730d7aa0e11a2cbc9266da.tar.xz wireguard-linux-ab82fa7da4dce5c728730d7aa0e11a2cbc9266da.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions