Merge "msm: lpm_resources: Disable L2 PC at CPU_UP_PREPARE"

This commit is contained in:
Linux Build Service Account
2012-10-22 03:23:01 -07:00
committed by Gerrit - the friendly Code Review server
+4
View File
@@ -695,6 +695,10 @@ static int msm_lpm_cpu_callback(struct notifier_block *cpu_nb,
{
struct msm_lpm_resource *rs = &msm_lpm_l2;
switch (action) {
case CPU_UP_PREPARE:
case CPU_UP_PREPARE_FROZEN:
rs->rs_data.value = MSM_LPM_L2_CACHE_ACTIVE;
break;
case CPU_ONLINE_FROZEN:
case CPU_ONLINE:
if (num_online_cpus() > 1)