mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "dsp: Add support for setting/getting mad type for proxy capture"
This commit is contained in:
commit
bd89f17f82
1 changed files with 4 additions and 2 deletions
|
|
@ -4022,7 +4022,8 @@ int afe_port_set_mad_type(u16 port_id, enum afe_mad_type mad_type)
|
|||
if (port_id == AFE_PORT_ID_TERTIARY_MI2S_TX ||
|
||||
port_id == AFE_PORT_ID_INT3_MI2S_TX ||
|
||||
port_id == AFE_PORT_ID_TX_CODEC_DMA_TX_3 ||
|
||||
port_id == AFE_PORT_ID_TERTIARY_TDM_TX) {
|
||||
port_id == AFE_PORT_ID_TERTIARY_TDM_TX ||
|
||||
port_id == RT_PROXY_PORT_001_TX) {
|
||||
mad_type = MAD_SW_AUDIO;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -4052,7 +4053,8 @@ enum afe_mad_type afe_port_get_mad_type(u16 port_id)
|
|||
if (port_id == AFE_PORT_ID_TERTIARY_MI2S_TX ||
|
||||
port_id == AFE_PORT_ID_INT3_MI2S_TX ||
|
||||
port_id == AFE_PORT_ID_TX_CODEC_DMA_TX_3 ||
|
||||
port_id == AFE_PORT_ID_TERTIARY_TDM_TX)
|
||||
port_id == AFE_PORT_ID_TERTIARY_TDM_TX ||
|
||||
port_id == RT_PROXY_PORT_001_TX)
|
||||
return MAD_SW_AUDIO;
|
||||
|
||||
i = port_id - SLIMBUS_0_RX;
|
||||
|
|
|
|||
Loading…
Reference in a new issue