mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "asoc: lahaina: use new pm_qos API to let audio ULL run on core 1&2 for concurrency usecases"
This commit is contained in:
commit
4090b93397
1 changed files with 3 additions and 5 deletions
|
|
@ -5215,14 +5215,12 @@ err:
|
|||
|
||||
static int msm_fe_qos_prepare(struct snd_pcm_substream *substream)
|
||||
{
|
||||
(void)substream;
|
||||
if (pm_qos_request_active(&substream->latency_pm_qos_req))
|
||||
pm_qos_remove_request(&substream->latency_pm_qos_req);
|
||||
|
||||
qos_client_active_cnt++;
|
||||
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);
|
||||
if (qos_client_active_cnt == 1)
|
||||
msm_audio_update_qos_request(MSM_LL_QOS_VALUE);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue