From: 张晴 Date: Tue, 13 Nov 2012 08:49:41 +0000 (+0800) Subject: rk3066:slove flash screen from sleep to wakeup X-Git-Tag: firefly_0821_release~8233 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9612a480feb379b24747855f096cf49d61495a5a;p=firefly-linux-kernel-4.4.55.git rk3066:slove flash screen from sleep to wakeup --- 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));