rk3066:slove flash screen from sleep to wakeup
author张晴 <zhangqing@rock-chips.com>
Tue, 13 Nov 2012 08:49:41 +0000 (16:49 +0800)
committer张晴 <zhangqing@rock-chips.com>
Tue, 13 Nov 2012 08:49:41 +0000 (16:49 +0800)
arch/arm/mach-rk30/board-pmu-wm8326.c
arch/arm/mach-rk30/board-rk30-sdk-wm8326.c

index 0e34c92764b5949291f1fcccdf621fbce4e09373..937d8299d008fff8b0a33c74891ba017d2fbb2cc 100755 (executable)
@@ -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));
index 9bec42acd3eafc8ae906cc2c0ebec4829b5b736c..3ad9b7d8ceb757d4f6f02c49bce32496a9a8df1d 100755 (executable)
@@ -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));