From: Geert Uytterhoeven Date: Fri, 12 Sep 2014 13:15:18 +0000 (+0200) Subject: irqchip: renesas-intc-irqpin: Add minimal runtime PM support X-Git-Tag: omap-for-v3.19/prcm-cleanup~138^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=705bc96c2c15313c;p=pandora-kernel.git 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 Link: https://lkml.kernel.org/r/1410527720-18061-3-git-send-email-geert+renesas@glider.be Signed-off-by: Jason Cooper --- Reading git-diff-tree failed