ASoC: dsp: set channel_mode as 1 for ADM_TOPOLOGY_ID_AUDIO_RX_FVSAM topology

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
UtsavBalar1231
2020-08-26 19:18:43 +05:30
parent c8423f7c4d
commit 3c5f7ca7be
2 changed files with 6 additions and 2 deletions

View File

@@ -2923,8 +2923,11 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
this_adm.ffecns_port_id);
}
if (topology == VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY)
if (topology == VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY ||
topology == ADM_TOPOLOGY_ID_AUDIO_RX_FVSAM) {
pr_debug("%s: set channel_mode as 1 for topology=%d\n", __func__, topology);
channel_mode = 1;
}
/*
* Routing driver reuses the same adm for streams with the same

View File

@@ -5085,6 +5085,7 @@ struct afe_param_id_lpass_core_shared_clk_cfg {
#define ADM_CMD_COPP_OPEN_TOPOLOGY_ID_DTS_HPX 0x10015002
#define ADM_CMD_COPP_OPEN_TOPOLOGY_ID_AUDIOSPHERE 0x10028000
#define VPM_TX_DM_FLUENCE_EF_COPP_TOPOLOGY 0x10000005
#define ADM_TOPOLOGY_ID_AUDIO_RX_FVSAM 0x1000FFF0
/* Memory map regions command payload used by the
* #ASM_CMD_SHARED_MEM_MAP_REGIONS ,#ADM_CMD_SHARED_MEM_MAP_REGIONS
@@ -11381,7 +11382,7 @@ struct afe_clk_set {
* for enable and disable clock.
* "clk_freq_in_hz", "clk_attri", and "clk_root"
* are ignored in disable clock case.
* @values 
* @values
* - 0 -- Disabled
* - 1 -- Enabled @tablebulletend
*/