Just a few power management tweaks.
/arch/arm/mach-msm/pm-data.c
blob:8fe22888e70a7c56b3d78c39820ab18cb2b2f1fa -> blob:c7fa773ff995406149c726bc11e967aad2daf790
--- arch/arm/mach-msm/pm-data.c
+++ arch/arm/mach-msm/pm-data.c
@@ -17,21 +17,21 @@ struct msm_pm_platform_data msm_pm_sleep
[MSM_PM_MODE(0, MSM_PM_SLEEP_MODE_POWER_COLLAPSE)] = {
.idle_supported = 1,
.suspend_supported = 1,
- .idle_enabled = 0,
- .suspend_enabled = 0,
+ .idle_enabled = 1,
+ .suspend_enabled = 1,
},
[MSM_PM_MODE(0, MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE)] = {
- .idle_supported = 1,
- .suspend_supported = 1,
+ .idle_supported = 0,
+ .suspend_supported = 0,
.idle_enabled = 0,
.suspend_enabled = 0,
},
[MSM_PM_MODE(0, MSM_PM_SLEEP_MODE_RETENTION)] = {
.idle_supported = 1,
- .suspend_supported = 1,
- .idle_enabled = 0,
+ .suspend_supported = 0,
+ .idle_enabled = 1,
.suspend_enabled = 0,
},
@@ -46,12 +46,12 @@ struct msm_pm_platform_data msm_pm_sleep
.idle_supported = 0,
.suspend_supported = 1,
.idle_enabled = 0,
- .suspend_enabled = 0,
+ .suspend_enabled = 1,
},
[MSM_PM_MODE(1, MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE)] = {
- .idle_supported = 1,
- .suspend_supported = 1,
+ .idle_supported = 0,
+ .suspend_supported = 0,
.idle_enabled = 0,
.suspend_enabled = 0,
},
@@ -59,8 +59,8 @@ struct msm_pm_platform_data msm_pm_sleep
[MSM_PM_MODE(1, MSM_PM_SLEEP_MODE_RETENTION)] = {
.idle_supported = 1,
.suspend_supported = 1,
- .idle_enabled = 0,
- .suspend_enabled = 0,
+ .idle_enabled = 1,
+ .suspend_enabled = 1,
},
[MSM_PM_MODE(1, MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT)] = {
@@ -74,12 +74,12 @@ struct msm_pm_platform_data msm_pm_sleep
.idle_supported = 0,
.suspend_supported = 1,
.idle_enabled = 0,
- .suspend_enabled = 0,
+ .suspend_enabled = 1,
},
[MSM_PM_MODE(2, MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE)] = {
- .idle_supported = 1,
- .suspend_supported = 1,
+ .idle_supported = 0,
+ .suspend_supported = 0,
.idle_enabled = 0,
.suspend_enabled = 0,
},
@@ -87,8 +87,8 @@ struct msm_pm_platform_data msm_pm_sleep
[MSM_PM_MODE(2, MSM_PM_SLEEP_MODE_RETENTION)] = {
.idle_supported = 1,
.suspend_supported = 1,
- .idle_enabled = 0,
- .suspend_enabled = 0,
+ .idle_enabled = 1,
+ .suspend_enabled = 1,
},
[MSM_PM_MODE(2, MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT)] = {
@@ -102,12 +102,12 @@ struct msm_pm_platform_data msm_pm_sleep
.idle_supported = 0,
.suspend_supported = 1,
.idle_enabled = 0,
- .suspend_enabled = 0,
+ .suspend_enabled = 1,
},
[MSM_PM_MODE(3, MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE)] = {
- .idle_supported = 1,
- .suspend_supported = 1,
+ .idle_supported = 0,
+ .suspend_supported = 0,
.idle_enabled = 0,
.suspend_enabled = 0,
},
@@ -115,8 +115,8 @@ struct msm_pm_platform_data msm_pm_sleep
[MSM_PM_MODE(3, MSM_PM_SLEEP_MODE_RETENTION)] = {
.idle_supported = 1,
.suspend_supported = 1,
- .idle_enabled = 0,
- .suspend_enabled = 0,
+ .idle_enabled = 1,
+ .suspend_enabled = 1,
},
[MSM_PM_MODE(3, MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT)] = {