Skip to content

Commit

Permalink
msm: htcleo: set the same pm2 properties as in .35 kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Alexander <admin@m-a-styles.de>
  • Loading branch information
marc1706 committed May 21, 2013
1 parent 6b8a8ed commit e2d3ffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/arm/mach-msm/board-htcleo.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,7 @@ static struct msm_pm_platform_data msm_pm_data[MSM_PM_SLEEP_MODE_NR] = {
.latency = 8594,
.residency = 23740,
},
#if 0
[MSM_PM_SLEEP_MODE_APPS_SLEEP] = {
.idle_supported = 1,
.suspend_supported = 1,
Expand All @@ -970,7 +971,6 @@ static struct msm_pm_platform_data msm_pm_data[MSM_PM_SLEEP_MODE_NR] = {
.latency = 8594,
.residency = 23740,
},
/*
[MSM_PM_SLEEP_MODE_POWER_COLLAPSE_NO_XO_SHUTDOWN] = {
.idle_supported = 1,
.suspend_supported = 1,
Expand All @@ -995,6 +995,7 @@ static struct msm_pm_platform_data msm_pm_data[MSM_PM_SLEEP_MODE_NR] = {
.latency = 500,
.residency = 6000,
},
#endif
[MSM_PM_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT] = {
.idle_supported = 1,
.suspend_supported = 1,
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/pm2.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module_param_array_named(offalarm, offalarm, uint, &offalarm_size,
S_IRUGO | S_IWUSR);
#endif

static int msm_pm_debug_mask = MSM_PM_DEBUG_CLOCK | MSM_PM_DEBUG_WAKEUP_REASON;
static int msm_pm_debug_mask = MSM_PM_DEBUG_CLOCK | MSM_PM_DEBUG_WAKEUP_REASON | MSM_PM_DEBUG_SUSPEND | MSM_PM_DEBUG_POWER_COLLAPSE;
module_param_named(
debug_mask, msm_pm_debug_mask, int, S_IRUGO | S_IWUSR | S_IWGRP
);
Expand Down

0 comments on commit e2d3ffd

Please sign in to comment.