mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "soc: qcom: msm_perf: fix error checks"
This commit is contained in:
commit
3eb36f7420
1 changed files with 2 additions and 2 deletions
|
|
@ -134,12 +134,12 @@ static int freq_qos_request_init(void)
|
|||
cleanup:
|
||||
for_each_present_cpu(cpu) {
|
||||
req = &per_cpu(qos_req_min, cpu);
|
||||
if (req)
|
||||
if (req && freq_qos_request_active(req))
|
||||
freq_qos_remove_request(req);
|
||||
|
||||
|
||||
req = &per_cpu(qos_req_max, cpu);
|
||||
if (req)
|
||||
if (req && freq_qos_request_active(req))
|
||||
freq_qos_remove_request(req);
|
||||
|
||||
per_cpu(msm_perf_cpu_stats, cpu).min = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue