clk: renesas: r9a06g032: Set GENPD_FLAG_ALWAYS_ON for clock domain
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 9 Aug 2019 13:43:07 +0000 (15:43 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 23 Aug 2019 09:09:52 +0000 (11:09 +0200)
commit7b8f7a76f2dfa6f1e60966b30dc1b5bde2548597
treea8b51e99037805d54504e97d2a8b6f2da6f201b6
parenta459a184c978ca9ad538aab93aafdde873953f30
clk: renesas: r9a06g032: Set GENPD_FLAG_ALWAYS_ON for clock domain

The RZ/N1 Clock Domain driver does not implement the
generic_pm_domain.power_{on,off}() callbacks, as the domain itself
cannot be powered down.  Hence the domain should be marked as always-on
by setting the GENPD_FLAG_ALWAYS_ON flag, to prevent the core PM Domain
code from considering it for power-off, and doing unnessary processing.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/clk/renesas/r9a06g032-clocks.c