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

Commit 6eab62a0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dsp: Fix for PSPD configuration error for dynamic speaker"

parents ad7d534b c93a6f51
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -550,16 +550,6 @@ int adm_programable_channel_mixer(int port_id, int copp_idx, int session_id,
		return -EINVAL;
		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
	 * First 8 bytes are 4 bytes as rule number, 2 bytes as output
	 * channel and 2 bytes as input channel.
	 * channel and 2 bytes as input channel.