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

Commit c93a6f51 authored by Ramu Gottipati's avatar Ramu Gottipati Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 0f28ed9d
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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.