From: 张晴 Date: Mon, 4 Feb 2013 02:29:12 +0000 (+0800) Subject: rk31xx:modify udelay time when resume X-Git-Tag: firefly_0821_release~7631 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=50c21e8e1905d1e3befac36b3214f98b99265323;p=firefly-linux-kernel-4.4.55.git rk31xx:modify udelay time when resume --- diff --git a/arch/arm/mach-rk30/board-pmu-act8846.c b/arch/arm/mach-rk30/board-pmu-act8846.c index eaec2fcfa72b..64b4feaf0838 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_udelay(2000); + sram_32k_udelay(1000); #endif } void __sramfunc board_act8846_set_suspend_vol(void) @@ -524,6 +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); #endif } diff --git a/arch/arm/mach-rk30/board-pmu-tps65910.c b/arch/arm/mach-rk30/board-pmu-tps65910.c index 95d30a4de6c6..752c7da9c459 100755 --- a/arch/arm/mach-rk30/board-pmu-tps65910.c +++ b/arch/arm/mach-rk30/board-pmu-tps65910.c @@ -572,7 +572,7 @@ void __sramfunc board_pmu_tps65910_resume(void) { #ifdef CONFIG_CLK_SWITCH_TO_32K sram_gpio_set_value(pmic_sleep, GPIO_LOW); - sram_udelay(2000); + sram_32k_udelay(2000); #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 0aa7f7ab9a00..486092540f12 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_udelay(2000); + sram_32k_udelay(2000); #endif } static struct wm831x_pdata wm831x_platdata = {