diff options
author | Tony Lindgren <tony@atomide.com> | 2011-03-11 12:20:03 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-03-11 12:20:03 -0500 |
commit | a2358a7bc35e388978fc2f7f6b071a0fd27d78c1 (patch) | |
tree | fbdc2ddb066243a11aebc490c4d54e6a42be51e2 /arch/arm/mach-omap2/pm.c | |
parent | 94a06b74e724caabcf0464c81527cfbcae0c8aff (diff) | |
parent | a08572ae529b1e8de12393eeced661feae8fd44c (diff) |
Merge branch 'integration-2.6.39-for-tony' of git://git.pwsan.com/linux-integration into omap-for-linus
Conflicts:
arch/arm/mach-omap2/pm34xx.c
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 6e4eb7ff95a8..30af3351c2d6 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -18,8 +18,8 @@ | |||
18 | #include <plat/omap-pm.h> | 18 | #include <plat/omap-pm.h> |
19 | #include <plat/omap_device.h> | 19 | #include <plat/omap_device.h> |
20 | #include <plat/common.h> | 20 | #include <plat/common.h> |
21 | #include <plat/voltage.h> | ||
22 | 21 | ||
22 | #include "voltage.h" | ||
23 | #include "powerdomain.h" | 23 | #include "powerdomain.h" |
24 | #include "clockdomain.h" | 24 | #include "clockdomain.h" |
25 | #include "pm.h" | 25 | #include "pm.h" |
@@ -126,7 +126,7 @@ int omap_set_pwrdm_state(struct powerdomain *pwrdm, u32 state) | |||
126 | (pwrdm->flags & PWRDM_HAS_LOWPOWERSTATECHANGE)) { | 126 | (pwrdm->flags & PWRDM_HAS_LOWPOWERSTATECHANGE)) { |
127 | sleep_switch = LOWPOWERSTATE_SWITCH; | 127 | sleep_switch = LOWPOWERSTATE_SWITCH; |
128 | } else { | 128 | } else { |
129 | omap2_clkdm_wakeup(pwrdm->pwrdm_clkdms[0]); | 129 | clkdm_wakeup(pwrdm->pwrdm_clkdms[0]); |
130 | pwrdm_wait_transition(pwrdm); | 130 | pwrdm_wait_transition(pwrdm); |
131 | sleep_switch = FORCEWAKEUP_SWITCH; | 131 | sleep_switch = FORCEWAKEUP_SWITCH; |
132 | } | 132 | } |
@@ -142,9 +142,9 @@ int omap_set_pwrdm_state(struct powerdomain *pwrdm, u32 state) | |||
142 | switch (sleep_switch) { | 142 | switch (sleep_switch) { |
143 | case FORCEWAKEUP_SWITCH: | 143 | case FORCEWAKEUP_SWITCH: |
144 | if (pwrdm->pwrdm_clkdms[0]->flags & CLKDM_CAN_ENABLE_AUTO) | 144 | if (pwrdm->pwrdm_clkdms[0]->flags & CLKDM_CAN_ENABLE_AUTO) |
145 | omap2_clkdm_allow_idle(pwrdm->pwrdm_clkdms[0]); | 145 | clkdm_allow_idle(pwrdm->pwrdm_clkdms[0]); |
146 | else | 146 | else |
147 | omap2_clkdm_sleep(pwrdm->pwrdm_clkdms[0]); | 147 | clkdm_sleep(pwrdm->pwrdm_clkdms[0]); |
148 | break; | 148 | break; |
149 | case LOWPOWERSTATE_SWITCH: | 149 | case LOWPOWERSTATE_SWITCH: |
150 | pwrdm_set_lowpwrstchange(pwrdm); | 150 | pwrdm_set_lowpwrstchange(pwrdm); |