diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-08-09 15:38:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-07 18:59:14 +0200 |
commit | b4b220dfcd3658b596d6c1885a11528e3157b9e6 (patch) | |
tree | 7aa9be871a3cfc822f28b042f30f68effa982450 /virt | |
parent | b5c5e7dfde6627cb19864690f884005f2bbf8ea4 (diff) | |
download | linux-stable-b4b220dfcd3658b596d6c1885a11528e3157b9e6.tar.gz linux-stable-b4b220dfcd3658b596d6c1885a11528e3157b9e6.tar.bz2 linux-stable-b4b220dfcd3658b596d6c1885a11528e3157b9e6.zip |
clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
[ Upstream commit a459a184c978ca9ad538aab93aafdde873953f30 ]
The CPG/MSTP 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.
This also gets rid of a boot warning when the Clock Domain contains an
IRQ-safe device, e.g. on RZ/A1:
sh_mtu2 fcff0000.timer: PM domain cpg_clocks will not be powered off
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions