diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-09-12 17:15:18 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-14 10:47:40 +0400 |
commit | 705bc96c2c15313c0677607f6e81800f4d2b4534 (patch) | |
tree | e87fd69085507172290b8d0f41a7582c8cce9252 /crypto/fcrypt.c | |
parent | 36845f1b54edc3237626d48270bbf3bc26d45f4f (diff) | |
download | linux-705bc96c2c15313c0677607f6e81800f4d2b4534.tar.xz |
irqchip: renesas-intc-irqpin: Add minimal runtime PM support
This is just enough to let pm_clk_*() enable the functional clock, and
manage it for suspend/resume, if present.
Before, it was assumed enabled by the bootloader or reset state.
To prevent the clock from being disabled while the module is needed for
wake-up, implement irq_chip.irq_set_wake(), which increments/decrements
the clock's enable_count when needed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lkml.kernel.org/r/1410527720-18061-3-git-send-email-geert+renesas@glider.be
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions