Loading drivers/cpuidle/lpm-levels.c +12 −4 Original line number Diff line number Diff line Loading @@ -472,7 +472,7 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx, /* * Notify that the cluster is entering a low power mode */ if (level->mode[i] == MSM_SPM_MODE_POWER_COLLAPSE) if (level->mode[i] == MSM_PM_SLEEP_MODE_POWER_COLLAPSE) cpu_cluster_pm_enter(); } if (level->notify_rpm) { Loading Loading @@ -614,7 +614,7 @@ static void cluster_unprepare(struct lpm_cluster *cluster, BUG_ON(ret); if (cluster->levels[last_level].mode[i] == MSM_SPM_MODE_POWER_COLLAPSE) MSM_PM_SLEEP_MODE_POWER_COLLAPSE) cpu_cluster_pm_exit(); } unlock_return: Loading Loading @@ -642,6 +642,10 @@ static inline void cpu_prepare(struct lpm_cluster *cluster, int cpu_index, if (from_idle && (cpu_level->use_bc_timer || (cpu_index >= cluster->min_child_level))) clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); if (from_idle && ((cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE) || (cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE))) cpu_pm_enter(); } Loading @@ -654,6 +658,10 @@ static inline void cpu_unprepare(struct lpm_cluster *cluster, int cpu_index, if (from_idle && (cpu_level->use_bc_timer || (cpu_index >= cluster->min_child_level))) clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu); if (from_idle && ((cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE) || (cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE))) cpu_pm_exit(); } Loading Loading
drivers/cpuidle/lpm-levels.c +12 −4 Original line number Diff line number Diff line Loading @@ -472,7 +472,7 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx, /* * Notify that the cluster is entering a low power mode */ if (level->mode[i] == MSM_SPM_MODE_POWER_COLLAPSE) if (level->mode[i] == MSM_PM_SLEEP_MODE_POWER_COLLAPSE) cpu_cluster_pm_enter(); } if (level->notify_rpm) { Loading Loading @@ -614,7 +614,7 @@ static void cluster_unprepare(struct lpm_cluster *cluster, BUG_ON(ret); if (cluster->levels[last_level].mode[i] == MSM_SPM_MODE_POWER_COLLAPSE) MSM_PM_SLEEP_MODE_POWER_COLLAPSE) cpu_cluster_pm_exit(); } unlock_return: Loading Loading @@ -642,6 +642,10 @@ static inline void cpu_prepare(struct lpm_cluster *cluster, int cpu_index, if (from_idle && (cpu_level->use_bc_timer || (cpu_index >= cluster->min_child_level))) clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); if (from_idle && ((cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE) || (cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE))) cpu_pm_enter(); } Loading @@ -654,6 +658,10 @@ static inline void cpu_unprepare(struct lpm_cluster *cluster, int cpu_index, if (from_idle && (cpu_level->use_bc_timer || (cpu_index >= cluster->min_child_level))) clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu); if (from_idle && ((cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE) || (cpu_level->mode == MSM_PM_SLEEP_MODE_POWER_COLLAPSE_STANDALONE))) cpu_pm_exit(); } Loading