dsp: add support for Slimbus 9 port in AFE
Add support for SLIMBUS_9 Rx and Tx ports in AFE driver. Change-Id: I7a21c06fd67984ef60e7d40b61a100ddc48371fc Signed-off-by: Surendar Karka <skarka@codeaurora.org> Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
b412979a8c
commit
b0dd21f1a3
@@ -79,6 +79,8 @@ int q6audio_get_port_index(u16 port_id)
|
||||
case SLIMBUS_7_TX: return IDX_SLIMBUS_7_TX;
|
||||
case SLIMBUS_8_RX: return IDX_SLIMBUS_8_RX;
|
||||
case SLIMBUS_8_TX: return IDX_SLIMBUS_8_TX;
|
||||
case SLIMBUS_9_RX: return IDX_SLIMBUS_9_RX;
|
||||
case SLIMBUS_9_TX: return IDX_SLIMBUS_9_TX;
|
||||
case INT_BT_SCO_RX: return IDX_INT_BT_SCO_RX;
|
||||
case INT_BT_SCO_TX: return IDX_INT_BT_SCO_TX;
|
||||
case INT_BT_A2DP_RX: return IDX_INT_BT_A2DP_RX;
|
||||
@@ -415,6 +417,8 @@ int q6audio_get_port_id(u16 port_id)
|
||||
case SLIMBUS_7_TX: return AFE_PORT_ID_SLIMBUS_MULTI_CHAN_7_TX;
|
||||
case SLIMBUS_8_RX: return AFE_PORT_ID_SLIMBUS_MULTI_CHAN_8_RX;
|
||||
case SLIMBUS_8_TX: return AFE_PORT_ID_SLIMBUS_MULTI_CHAN_8_TX;
|
||||
case SLIMBUS_9_RX: return AFE_PORT_ID_SLIMBUS_MULTI_CHAN_9_RX;
|
||||
case SLIMBUS_9_TX: return AFE_PORT_ID_SLIMBUS_MULTI_CHAN_9_TX;
|
||||
case INT_BT_SCO_RX: return AFE_PORT_ID_INTERNAL_BT_SCO_RX;
|
||||
case INT_BT_SCO_TX: return AFE_PORT_ID_INTERNAL_BT_SCO_TX;
|
||||
case INT_BT_A2DP_RX: return AFE_PORT_ID_INTERNAL_BT_A2DP_RX;
|
||||
@@ -925,6 +929,8 @@ int q6audio_validate_port(u16 port_id)
|
||||
case SLIMBUS_7_TX:
|
||||
case SLIMBUS_8_RX:
|
||||
case SLIMBUS_8_TX:
|
||||
case SLIMBUS_9_RX:
|
||||
case SLIMBUS_9_TX:
|
||||
case INT_BT_SCO_RX:
|
||||
case INT_BT_SCO_TX:
|
||||
case INT_BT_A2DP_RX:
|
||||
|
Reference in New Issue
Block a user