From aba0be655a99ea5e09290ec2a2d18b9518adb780 Mon Sep 17 00:00:00 2001 From: "Vangala, Amarnath" Date: Wed, 7 Oct 2020 21:31:04 +0530 Subject: [PATCH] asoc: holi: use new pm_qos API This change ensure all concurrent low latency/ ultra low latency use cases run on core 1 and 2. Change-Id: I187787ea609768bbfb6098a844dab4ebef611a9c --- asoc/holi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asoc/holi.c b/asoc/holi.c index 8c3bdbf24d..04d2c2ddf8 100644 --- a/asoc/holi.c +++ b/asoc/holi.c @@ -4343,7 +4343,8 @@ 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)