mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
ASoC: add echo ref support for SEN MI2S
Add SEN_MI2S_RX to echo_ref_rx so it can be used for Audio EC reference. CRs-Fixed: 2553377 Change-Id: Id326c6f80b0553bd1031b2c4a641d6bc716d03a7 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
parent
2e421b5771
commit
6f4285c583
1 changed files with 5 additions and 1 deletions
|
|
@ -5450,6 +5450,10 @@ static int get_ec_ref_port_id(int value, int *index)
|
|||
*index = 37;
|
||||
port_id = AFE_PORT_ID_HDMI_OVER_DP_RX;
|
||||
break;
|
||||
case 38:
|
||||
*index = 38;
|
||||
port_id = AFE_PORT_ID_SENARY_MI2S_RX;
|
||||
break;
|
||||
default:
|
||||
*index = 0; /* NONE */
|
||||
pr_err("%s: Invalid value %d\n", __func__, value);
|
||||
|
|
@ -5507,7 +5511,7 @@ static const char *const ec_ref_rx[] = { "None", "SLIM_RX", "I2S_RX",
|
|||
"WSA_CDC_DMA_TX_0", "WSA_CDC_DMA_TX_1", "WSA_CDC_DMA_TX_2",
|
||||
"SLIM_7_RX", "RX_CDC_DMA_RX_0", "RX_CDC_DMA_RX_1", "RX_CDC_DMA_RX_2",
|
||||
"RX_CDC_DMA_RX_3", "TX_CDC_DMA_TX_0", "TERT_TDM_RX_2", "SEC_TDM_TX_0",
|
||||
"DISPLAY_PORT1",
|
||||
"DISPLAY_PORT1", "SEN_MI2S_RX",
|
||||
};
|
||||
|
||||
static const struct soc_enum msm_route_ec_ref_rx_enum[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue