From 0a14d30e9c8974c94191751c574dd5833e785aa2 Mon Sep 17 00:00:00 2001 From: chenxing Date: Sat, 18 May 2013 13:20:45 +0800 Subject: [PATCH] rk30xx: pmic: delay 10ms after 32.768K switch to 24M --- arch/arm/mach-rk30/board-pmu-act8846.c | 4 ++-- arch/arm/mach-rk30/board-pmu-tps65910.c | 2 +- arch/arm/mach-rk30/board-pmu-wm8326.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-rk30/board-pmu-act8846.c b/arch/arm/mach-rk30/board-pmu-act8846.c index 64b4feaf0838..b97ee8d8db76 100755 --- a/arch/arm/mach-rk30/board-pmu-act8846.c +++ b/arch/arm/mach-rk30/board-pmu-act8846.c @@ -511,7 +511,7 @@ void __sramfunc board_pmu_act8846_resume(void) { #ifdef CONFIG_CLK_SWITCH_TO_32K sram_gpio_set_value(pmic_sleep, GPIO_LOW); - sram_32k_udelay(1000); + sram_32k_udelay(10000); #endif } void __sramfunc board_act8846_set_suspend_vol(void) @@ -524,7 +524,7 @@ void __sramfunc board_act8846_set_resume_vol(void) { #ifdef CONFIG_ACT8846_SUPPORT_RESET sram_gpio_set_value(pmic_vsel, GPIO_LOW); - sram_32k_udelay(1000); + sram_32k_udelay(10000); #endif } diff --git a/arch/arm/mach-rk30/board-pmu-tps65910.c b/arch/arm/mach-rk30/board-pmu-tps65910.c index f9062668e8c2..6f83dc3ad5d2 100755 --- a/arch/arm/mach-rk30/board-pmu-tps65910.c +++ b/arch/arm/mach-rk30/board-pmu-tps65910.c @@ -579,7 +579,7 @@ void __sramfunc board_pmu_tps65910_resume(void) { #ifdef CONFIG_CLK_SWITCH_TO_32K sram_gpio_set_value(pmic_sleep, GPIO_LOW); - sram_32k_udelay(2000); + sram_32k_udelay(10000); #endif } static struct tps65910_board tps65910_data = { diff --git a/arch/arm/mach-rk30/board-pmu-wm8326.c b/arch/arm/mach-rk30/board-pmu-wm8326.c index 486092540f12..1c6b9a45a49d 100755 --- a/arch/arm/mach-rk30/board-pmu-wm8326.c +++ b/arch/arm/mach-rk30/board-pmu-wm8326.c @@ -787,7 +787,7 @@ void __sramfunc board_pmu_wm8326_resume(void) { #ifdef CONFIG_CLK_SWITCH_TO_32K sram_gpio_set_value(pmic_sleep, GPIO_LOW); - sram_32k_udelay(2000); + sram_32k_udelay(10000); #endif } static struct wm831x_pdata wm831x_platdata = { -- 2.34.1