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

Commit 63cd9ad6 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan
Browse files

asoc: lahaina: remove defunct implementation of qos



Remove defunct implementation of front end qos
prepare function.
Add todo debug log to add the new QOS prepare
implementation.

Change-Id: I95893d0309d465100d7abbab5e1acf6269fd1cde
Signed-off-by: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent 6744f565
Loading
Loading
Loading
Loading
+1 −15
Original line number Diff line number Diff line
@@ -4897,21 +4897,7 @@ static int msm_snd_cdc_dma_hw_params(struct snd_pcm_substream *substream,

static int msm_fe_qos_prepare(struct snd_pcm_substream *substream)
{
	cpumask_t mask;

	if (pm_qos_request_active(&substream->latency_pm_qos_req))
		pm_qos_remove_request(&substream->latency_pm_qos_req);

	cpumask_clear(&mask);
	cpumask_set_cpu(1, &mask); /* affine to core 1 */
	cpumask_set_cpu(2, &mask); /* affine to core 2 */
	cpumask_copy(&substream->latency_pm_qos_req.cpus_affine, &mask);

	substream->latency_pm_qos_req.type = PM_QOS_REQ_AFFINE_CORES;

	pm_qos_add_request(&substream->latency_pm_qos_req,
			  PM_QOS_CPU_DMA_LATENCY,
			  MSM_LL_QOS_VALUE);
	pr_debug("%s: TODO: add new QOS implementation\n", __func__);
	return 0;
}