Skip to content

Commit 564ec12

Browse files
geertuhorms
authored andcommitted
ARM: shmobile: r8a7779: Remove GENPD_FLAG_PM_CLK flag
The R-Car SYSC PM Domain only manages power domains for the main CPUs and for coprocessors. It does not fill in the genpd .{at,de}tach_dev() callbacks, and no power management clocks are registered for devices. Hence pm_clk_{suspend,resume}() are no-ops, and setting of the GENPD_FLAG_PM_CLK flag can be removed. Originally the clock handling was copied from the R-Mobile PM Domain code, which does manage a clock domain, in addition to device power domains. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 23e95fc commit 564ec12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm/mach-shmobile/pm-r8a7779.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ static void r8a7779_init_pm_domain(struct r8a7779_pm_domain *r8a7779_pd)
8383
{
8484
struct generic_pm_domain *genpd = &r8a7779_pd->genpd;
8585

86-
genpd->flags = GENPD_FLAG_PM_CLK;
8786
pm_genpd_init(genpd, NULL, false);
8887
genpd->dev_ops.active_wakeup = pd_active_wakeup;
8988
genpd->power_off = pd_power_down;

0 commit comments

Comments
 (0)