diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index d5a102c71989..74c31008079c 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -124,7 +124,7 @@ int omap_set_pwrdm_state(struct powerdomain *pwrdm, u32 state) | |||
124 | (pwrdm->flags & PWRDM_HAS_LOWPOWERSTATECHANGE)) { | 124 | (pwrdm->flags & PWRDM_HAS_LOWPOWERSTATECHANGE)) { |
125 | sleep_switch = LOWPOWERSTATE_SWITCH; | 125 | sleep_switch = LOWPOWERSTATE_SWITCH; |
126 | } else { | 126 | } else { |
127 | omap2_clkdm_wakeup(pwrdm->pwrdm_clkdms[0]); | 127 | clkdm_wakeup(pwrdm->pwrdm_clkdms[0]); |
128 | pwrdm_wait_transition(pwrdm); | 128 | pwrdm_wait_transition(pwrdm); |
129 | sleep_switch = FORCEWAKEUP_SWITCH; | 129 | sleep_switch = FORCEWAKEUP_SWITCH; |
130 | } | 130 | } |
@@ -142,7 +142,7 @@ int omap_set_pwrdm_state(struct powerdomain *pwrdm, u32 state) | |||
142 | if (pwrdm->pwrdm_clkdms[0]->flags & CLKDM_CAN_ENABLE_AUTO) | 142 | if (pwrdm->pwrdm_clkdms[0]->flags & CLKDM_CAN_ENABLE_AUTO) |
143 | omap2_clkdm_allow_idle(pwrdm->pwrdm_clkdms[0]); | 143 | omap2_clkdm_allow_idle(pwrdm->pwrdm_clkdms[0]); |
144 | else | 144 | else |
145 | omap2_clkdm_sleep(pwrdm->pwrdm_clkdms[0]); | 145 | clkdm_sleep(pwrdm->pwrdm_clkdms[0]); |
146 | break; | 146 | break; |
147 | case LOWPOWERSTATE_SWITCH: | 147 | case LOWPOWERSTATE_SWITCH: |
148 | pwrdm_set_lowpwrstchange(pwrdm); | 148 | pwrdm_set_lowpwrstchange(pwrdm); |