From: Jouni Hogander <jouni.hogander@xxxxxxxxx> Remove code from traditional pm_idle loop. Removed code is in omap_sram_idle which is shared between cpuidle and pm_idle. Signed-off-by: Git administrator <gitowner@xxxxxxxxxxxxxxxxxxxxxxxx> --- arch/arm/mach-omap2/pm34xx.c | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 73f32a0..ae324b4 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -479,21 +479,7 @@ static void omap3_pm_idle(void) if (!omap_serial_can_sleep()) goto out; - omap2_gpio_prepare_for_retention(); - - omap_serial_enable_clocks(0, 0); - omap_serial_enable_clocks(0, 1); - omap_serial_enable_clocks(0, 2); - per_gpio_clk_disable(); - omap_sram_idle(); - - omap_serial_enable_clocks(1, 0); - omap_serial_enable_clocks(1, 1); - omap_serial_enable_clocks(1, 2); - per_gpio_clk_enable(); - - omap2_gpio_resume_after_retention(); out: local_fiq_enable(); local_irq_enable(); -- 1.6.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html