diff options
author | Geert Uytterhoeven <[email protected]> | 2019-08-09 15:38:34 +0200 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2019-08-23 11:09:49 +0200 |
commit | a459a184c978ca9ad538aab93aafdde873953f30 (patch) | |
tree | ccd0f3bb83aed7cede51d5e6fe47782a72530d00 /lib/test_overflow.c | |
parent | b7c73b12b8944bd7be76076e25de84efc01fd374 (diff) |
clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions