Loading drivers/cpuidle/lpm-levels.c +3 −8 Original line number Diff line number Diff line Loading @@ -377,14 +377,6 @@ static int cluster_select(struct lpm_cluster *cluster, bool from_idle) if (!cluster) return -EINVAL; /* * TODO: * use per_cpu pm_qos to prevent low power modes based on * latency */ if (msm_rpm_waiting_for_ack()) return best_level; sleep_us = (uint32_t)get_cluster_sleep_time(cluster, NULL, from_idle); if (cpumask_and(&mask, cpu_online_mask, &cluster->child_cpus)) Loading Loading @@ -426,6 +418,9 @@ static int cluster_select(struct lpm_cluster *cluster, bool from_idle) if (suspend_in_progress && from_idle && level->notify_rpm) continue; if (level->notify_rpm && msm_rpm_waiting_for_ack()) continue; if ((sleep_us >> 10) > pwr_params->time_overhead_us) { pwr = pwr_params->ss_power; } else { Loading Loading
drivers/cpuidle/lpm-levels.c +3 −8 Original line number Diff line number Diff line Loading @@ -377,14 +377,6 @@ static int cluster_select(struct lpm_cluster *cluster, bool from_idle) if (!cluster) return -EINVAL; /* * TODO: * use per_cpu pm_qos to prevent low power modes based on * latency */ if (msm_rpm_waiting_for_ack()) return best_level; sleep_us = (uint32_t)get_cluster_sleep_time(cluster, NULL, from_idle); if (cpumask_and(&mask, cpu_online_mask, &cluster->child_cpus)) Loading Loading @@ -426,6 +418,9 @@ static int cluster_select(struct lpm_cluster *cluster, bool from_idle) if (suspend_in_progress && from_idle && level->notify_rpm) continue; if (level->notify_rpm && msm_rpm_waiting_for_ack()) continue; if ((sleep_us >> 10) > pwr_params->time_overhead_us) { pwr = pwr_params->ss_power; } else { Loading