Bladeren bron

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
Vangala, Amarnath 4 jaren geleden
bovenliggende
commit
aba0be655a
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      asoc/holi.c

+ 2 - 1
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)