diff options
Diffstat (limited to 'arch/arm/mach-davinci/cpuidle.c')
-rw-r--r-- | arch/arm/mach-davinci/cpuidle.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c index 5ac9e9384b15..22d6d4acc8d9 100644 --- a/arch/arm/mach-davinci/cpuidle.c +++ b/arch/arm/mach-davinci/cpuidle.c | |||
@@ -50,14 +50,10 @@ static void davinci_save_ddr_power(int enter, bool pdown) | |||
50 | 50 | ||
51 | /* Actual code that puts the SoC in different idle states */ | 51 | /* Actual code that puts the SoC in different idle states */ |
52 | static int davinci_enter_idle(struct cpuidle_device *dev, | 52 | static int davinci_enter_idle(struct cpuidle_device *dev, |
53 | struct cpuidle_driver *drv, | 53 | struct cpuidle_driver *drv, int index) |
54 | int index) | ||
55 | { | 54 | { |
56 | davinci_save_ddr_power(1, ddr2_pdown); | 55 | davinci_save_ddr_power(1, ddr2_pdown); |
57 | 56 | cpu_do_idle(); | |
58 | index = cpuidle_wrap_enter(dev, drv, index, | ||
59 | arm_cpuidle_simple_enter); | ||
60 | |||
61 | davinci_save_ddr_power(0, ddr2_pdown); | 57 | davinci_save_ddr_power(0, ddr2_pdown); |
62 | 58 | ||
63 | return index; | 59 | return index; |