mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
Merge "msm_perf: Update freq vote from UINT_MAX to FREQ_QOS_MAX_DEFAULT_VALUE"
This commit is contained in:
commit
218f50a039
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user