irqchip: renesas-irqc: Add minimal runtime PM support
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 18 Mar 2015 18:55:56 +0000 (19:55 +0100)
committerJason Cooper <jason@lakedaemon.net>
Mon, 23 Mar 2015 09:34:43 +0000 (09:34 +0000)
commit51b05f6b8a7dfa2c85988e506d3107144a13b975
treeaf34871f56d52830c58730d82d996241cb1a0e6d
parent1cd5ec73306d6e361b90e27ae17bd5f87e009567
irqchip: renesas-irqc: 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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Link: https://lkml.kernel.org/r/1426704961-27322-3-git-send-email-geert+renesas@glider.be
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-renesas-irqc.c