From c93a6f51384e96e6698dcc5a0dc5726a2936932c Mon Sep 17 00:00:00 2001 From: Ramu Gottipati Date: Fri, 17 Apr 2020 11:24:55 +0530 Subject: [PATCH] dsp: Fix for PSPD configuration error for dynamic speaker - PSPD is not applying properly for multi zone streams as expected. Due to this observing mute in some of the channels. - To fix this, configure PSPD for multi zone streams. Change-Id: I70c98ae437e88ddfd56413f06422d694ed466a41 --- dsp/q6adm.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dsp/q6adm.c b/dsp/q6adm.c index 73646ba1bb52..223531be87d4 100644 --- a/dsp/q6adm.c +++ b/dsp/q6adm.c @@ -549,16 +549,6 @@ int adm_programable_channel_mixer(int port_id, int copp_idx, int session_id, return -EINVAL; } - /* - * check if PSPD is already configured - * if it is configured already, return 0 without applying PSPD. - */ - if (atomic_read(&this_adm.copp.cnt[port_idx][copp_idx]) > 1) { - pr_debug("%s: copp.cnt:%#x\n", __func__, - atomic_read(&this_adm.copp.cnt[port_idx][copp_idx])); - return 0; - } - /* * First 8 bytes are 4 bytes as rule number, 2 bytes as output * channel and 2 bytes as input channel.