Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4090b933 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: lahaina: use new pm_qos API to let audio ULL run on core 1&2 for concurrency usecases"

parents f407fb79 0be90488
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -5215,14 +5215,12 @@ static int msm_snd_cdc_dma_hw_params(struct snd_pcm_substream *substream,

static int msm_fe_qos_prepare(struct snd_pcm_substream *substream)
{
	(void)substream;

	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);

	qos_client_active_cnt++;
	if (qos_client_active_cnt == 1)
		msm_audio_update_qos_request(MSM_LL_QOS_VALUE);
	}

	return 0;
}