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

Commit 798cbf8f authored by Bala Kishore Pati's avatar Bala Kishore Pati
Browse files

dsp: add VPM_TX_SM_ECNS_COPP_TOPOLOGY for single mic ecns



In order to select sample rate, add check for SM_ECNS
topology to provide backward compatibility.

Change-Id: If722e34ec4ccb224b1b28cfa7df0b10674bf7dba
Signed-off-by: default avatarBala Kishore Pati <balakishorepati@codeaurora.org>
parent d3c9fef9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2624,6 +2624,7 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
	}

	if ((topology == VPM_TX_SM_ECNS_V2_COPP_TOPOLOGY) ||
	    (topology == VPM_TX_SM_ECNS_COPP_TOPOLOGY) ||
	    (topology == VPM_TX_DM_FLUENCE_COPP_TOPOLOGY) ||
	    (topology == VPM_TX_DM_RFECNS_COPP_TOPOLOGY))
		rate = 16000;
+1 −0
Original line number Diff line number Diff line
@@ -4015,6 +4015,7 @@ struct afe_lpass_core_shared_clk_config_command {
#define DEFAULT_POPP_TOPOLOGY				0x00010BE4
#define COMPRESSED_PASSTHROUGH_DEFAULT_TOPOLOGY         0x0001076B
#define COMPRESSED_PASSTHROUGH_NONE_TOPOLOGY            0x00010774
#define VPM_TX_SM_ECNS_COPP_TOPOLOGY			0x00010F71
#define VPM_TX_SM_ECNS_V2_COPP_TOPOLOGY			0x00010F89
#define VPM_TX_DM_FLUENCE_COPP_TOPOLOGY			0x00010F72
#define VPM_TX_QMIC_FLUENCE_COPP_TOPOLOGY		0x00010F75