mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
asoc: add supported ec_ref port
Extend ec_ref port array to support PRI_TDM_RX_2/TERT_TDM_RX_0/SEC_TDM_TX_1 port. Change-Id: Id4f5692a1dea64f2510bc650606ef0c155062858 Signed-off-by: Erin Yan <xinyey@codeaurora.org>
This commit is contained in:
parent
02744ac315
commit
a4b9951fee
1 changed files with 13 additions and 0 deletions
|
|
@ -6124,6 +6124,18 @@ static int get_ec_ref_port_id(int value, int *index)
|
|||
*index = 44;
|
||||
port_id = RT_PROXY_PORT_001_TX;
|
||||
break;
|
||||
case 45:
|
||||
*index = 45;
|
||||
port_id = AFE_PORT_ID_PRIMARY_TDM_RX_2;
|
||||
break;
|
||||
case 46:
|
||||
*index = 46;
|
||||
port_id = AFE_PORT_ID_TERTIARY_TDM_RX;
|
||||
break;
|
||||
case 47:
|
||||
*index = 47;
|
||||
port_id = AFE_PORT_ID_SECONDARY_TDM_TX_1;
|
||||
break;
|
||||
default:
|
||||
*index = 0; /* NONE */
|
||||
pr_err("%s: Invalid value %d\n", __func__, value);
|
||||
|
|
@ -6183,6 +6195,7 @@ static const char *const ec_ref_rx[] = { "None", "SLIM_RX", "I2S_RX",
|
|||
"RX_CDC_DMA_RX_3", "TX_CDC_DMA_TX_0", "TERT_TDM_RX_2", "SEC_TDM_TX_0",
|
||||
"DISPLAY_PORT1", "SEN_MI2S_RX", "QUIN_TDM_TX_0", "SENARY_MI2S_TX",
|
||||
"PRI_TDM_RX_0", "PRI_TDM_TX_0", "QUIN_MI2S_RX", "AFE_PCM_TX",
|
||||
"PRI_TDM_RX_2", "TERT_TDM_RX_0", "SEC_TDM_TX_1",
|
||||
};
|
||||
|
||||
static const struct soc_enum msm_route_ec_ref_rx_enum[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue