Merge "dsp: adm: change channel number for SMECNS_V2 module"

This commit is contained in:
Linux Build Service Account 2018-10-25 03:13:33 -07:00 • committed by Gerrit - the friendly Code Review server
commit e524ae06a4
2 changed files with 4 additions and 0 deletions

View file

@ -2833,6 +2833,9 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
(topology == VPM_TX_DM_RFECNS_COPP_TOPOLOGY))
rate = 16000;
if (topology == VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY)
channel_mode = 1;
/*
* Routing driver reuses the same adm for streams with the same
* app_type, sample_rate etc.

View file

@ -4892,6 +4892,7 @@ struct afe_param_id_lpass_core_shared_clk_cfg {
#define COMPRESSED_PASSTHROUGH_DEFAULT_TOPOLOGY 0x0001076B
#define COMPRESSED_PASSTHROUGH_NONE_TOPOLOGY 0x00010774
#define VPM_TX_SM_ECNS_V2_COPP_TOPOLOGY 0x00010F89
#define VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY 0x10000003
#define VPM_TX_DM_FLUENCE_COPP_TOPOLOGY 0x00010F72
#define VPM_TX_QMIC_FLUENCE_COPP_TOPOLOGY 0x00010F75
#define VPM_TX_DM_RFECNS_COPP_TOPOLOGY 0x00010F86