From 9612a480feb379b24747855f096cf49d61495a5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Tue, 13 Nov 2012 16:49:41 +0800 Subject: [PATCH] rk3066:slove flash screen from sleep to wakeup --- arch/arm/mach-rk30/board-pmu-wm8326.c | 4 ++++ arch/arm/mach-rk30/board-rk30-sdk-wm8326.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/mach-rk30/board-pmu-wm8326.c b/arch/arm/mach-rk30/board-pmu-wm8326.c index 0e34c92764b5..937d8299d008 100755 --- a/arch/arm/mach-rk30/board-pmu-wm8326.c +++ b/arch/arm/mach-rk30/board-pmu-wm8326.c @@ -733,7 +733,11 @@ void wm831x_pmu_early_resume(struct regulator_dev *rdev) printk("%s\n", __func__); dcdc = regulator_get(NULL, "dcdc4"); //vcc_io + #ifdef CONFIG_MACH_RK3066_SDK + regulator_set_voltage(dcdc, 3300000, 3300000); + #else regulator_set_voltage(dcdc, 3000000, 3000000); + #endif regulator_set_mode(dcdc, REGULATOR_MODE_FAST); regulator_enable(dcdc); printk("%s set dcdc4 vcc_io=%dmV end\n", __func__, regulator_get_voltage(dcdc)); diff --git a/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c b/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c index 9bec42acd3ea..3ad9b7d8ceb7 100755 --- a/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c +++ b/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c @@ -840,7 +840,11 @@ void wm831x_pmu_early_resume(struct regulator_dev *rdev) printk("%s\n", __func__); dcdc = regulator_get(NULL, "dcdc4"); //vcc_io + #ifdef CONFIG_MACH_RK3066_SDK + regulator_set_voltage(dcdc, 3300000, 3300000); + #else regulator_set_voltage(dcdc, 3000000, 3000000); + #endif regulator_set_mode(dcdc, REGULATOR_MODE_FAST); regulator_enable(dcdc); printk("%s set dcdc4 vcc_io=%dmV end\n", __func__, regulator_get_voltage(dcdc)); -- 2.34.1