Merge "asoc: lahaina: use new pm_qos API to let audio ULL run on core 1 and 2"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
d135c72b0b
@@ -5110,8 +5110,11 @@ static int msm_fe_qos_prepare(struct snd_pcm_substream *substream)
|
|||||||
(void)substream;
|
(void)substream;
|
||||||
|
|
||||||
qos_client_active_cnt++;
|
qos_client_active_cnt++;
|
||||||
if (qos_client_active_cnt == 1)
|
if (qos_client_active_cnt == 1) {
|
||||||
|
if (pm_qos_request_active(&substream->latency_pm_qos_req))
|
||||||
|
pm_qos_remove_request(&substream->latency_pm_qos_req);
|
||||||
msm_audio_update_qos_request(MSM_LL_QOS_VALUE);
|
msm_audio_update_qos_request(MSM_LL_QOS_VALUE);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user