diff options
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index 26912a95dc18..5b0b90b76e13 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c | |||
@@ -574,6 +574,7 @@ int omap2_clkdm_clk_enable(struct clockdomain *clkdm, struct clk *clk) | |||
574 | omap2_clkdm_wakeup(clkdm); | 574 | omap2_clkdm_wakeup(clkdm); |
575 | 575 | ||
576 | pwrdm_wait_transition(clkdm->pwrdm.ptr); | 576 | pwrdm_wait_transition(clkdm->pwrdm.ptr); |
577 | pwrdm_clkdm_state_switch(clkdm); | ||
577 | 578 | ||
578 | return 0; | 579 | return 0; |
579 | } | 580 | } |
@@ -626,6 +627,8 @@ int omap2_clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk) | |||
626 | else | 627 | else |
627 | omap2_clkdm_sleep(clkdm); | 628 | omap2_clkdm_sleep(clkdm); |
628 | 629 | ||
630 | pwrdm_clkdm_state_switch(clkdm); | ||
631 | |||
629 | return 0; | 632 | return 0; |
630 | } | 633 | } |
631 | 634 | ||