From 63cd9ad609f0b509aa68109b73e30e56e01b9164 Mon Sep 17 00:00:00 2001 From: Vignesh Kulothungan Date: Tue, 14 Jan 2020 13:37:18 -0800 Subject: [PATCH] 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: Vignesh Kulothungan --- asoc/lahaina.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/asoc/lahaina.c b/asoc/lahaina.c index 731c1c0df038..df32078f7231 100644 --- a/asoc/lahaina.c +++ b/asoc/lahaina.c @@ -4897,21 +4897,7 @@ err: 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; }