Merge "msm_perf: Update freq vote from UINT_MAX to FREQ_QOS_MAX_DEFAULT_VALUE"

This commit is contained in:
qctecmdr 2022-10-17 12:13:09 -07:00 committed by Gerrit - the friendly Code Review server
commit 218f50a039

View File

@ -231,7 +231,7 @@ static int freq_qos_request_init(void)
goto cleanup;
}
per_cpu(msm_perf_cpu_stats, cpu).max = UINT_MAX;
per_cpu(msm_perf_cpu_stats, cpu).max = FREQ_QOS_MAX_DEFAULT_VALUE;
req = &per_cpu(qos_req_max, cpu);
ret = freq_qos_add_request(&policy->constraints, req,
FREQ_QOS_MAX, FREQ_QOS_MAX_DEFAULT_VALUE);
@ -258,7 +258,7 @@ static int freq_qos_request_init(void)
freq_qos_remove_request(req);
per_cpu(msm_perf_cpu_stats, cpu).min = 0;
per_cpu(msm_perf_cpu_stats, cpu).max = UINT_MAX;
per_cpu(msm_perf_cpu_stats, cpu).max = FREQ_QOS_MAX_DEFAULT_VALUE;
}
return ret;
}