From db885e10c0e5a72a296a2bc0a6ff619a2ac6a3a8 Mon Sep 17 00:00:00 2001
From: =?utf8?q?=E5=AE=8B=E7=A7=80=E6=9D=B0?= <sxj@rock-chips.com>
Date: Fri, 8 Oct 2010 04:53:32 -0700
Subject: [PATCH] default open pm control

---
 arch/arm/configs/rk2818_raho_0928_defconfig | 1 +
 arch/arm/configs/rk2818_raho_defconfig      | 1 +
 drivers/regulator/rk2818_lp8725.c           | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/rk2818_raho_0928_defconfig b/arch/arm/configs/rk2818_raho_0928_defconfig
index da3b0f94f66d..8600eb1948fc 100755
--- a/arch/arm/configs/rk2818_raho_0928_defconfig
+++ b/arch/arm/configs/rk2818_raho_0928_defconfig
@@ -207,6 +207,7 @@ CONFIG_RK28_GPIO_IRQ=16
 CONFIG_RK28_ADC=y
 CONFIG_RK28_USB_WAKE=y
 CONFIG_WIFI_CONTROL_FUNC=y
+CONFIG_RK2818_SOC_PM=y
 
 #
 # Processor Type
diff --git a/arch/arm/configs/rk2818_raho_defconfig b/arch/arm/configs/rk2818_raho_defconfig
index b42366320027..d8704d79add6 100755
--- a/arch/arm/configs/rk2818_raho_defconfig
+++ b/arch/arm/configs/rk2818_raho_defconfig
@@ -207,6 +207,7 @@ CONFIG_RK28_GPIO_IRQ=16
 CONFIG_RK28_ADC=y
 CONFIG_RK28_USB_WAKE=y
 CONFIG_WIFI_CONTROL_FUNC=y
+CONFIG_RK2818_SOC_PM=y
 
 #
 # Processor Type
diff --git a/drivers/regulator/rk2818_lp8725.c b/drivers/regulator/rk2818_lp8725.c
index 72875a5ce1c6..e17408210efd 100755
--- a/drivers/regulator/rk2818_lp8725.c
+++ b/drivers/regulator/rk2818_lp8725.c
@@ -54,7 +54,7 @@ REVISION 0.01
 #define DBG_INFO(x...)
 #endif
 
-//#define PM_CONTROL
+#define PM_CONTROL
 
 
 struct lp8725 {
-- 
2.34.1