mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
asoc: holi: update soundwire master port configuration for Tx
Update the soundwire master port configuration for 4.8MHz use cases in Tx path for holi. Change-Id: If183c9eeba1d9e64eff978021dc234b183e83f3b Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
This commit is contained in:
parent
25ae32a589
commit
63efc9ab3b
1 changed files with 3 additions and 3 deletions
|
|
@ -34,8 +34,8 @@ static struct port_params rx_frame_params_default[SWR_MSTR_PORT_LEN] = {
|
|||
};
|
||||
|
||||
/* TX UC1: TX1: 1ch, TX2: 2chs, TX3: 1ch(MBHC) */
|
||||
static struct port_params tx_frame_params_default[SWR_MSTR_PORT_LEN] = {
|
||||
{3, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* TX1 */
|
||||
static struct port_params tx_frame_params_4p8MHz[SWR_MSTR_PORT_LEN] = {
|
||||
{3, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 1, 0x00, 0x00}, /* TX1 */
|
||||
{3, 2, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* TX2 */
|
||||
{7, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* TX3 */
|
||||
};
|
||||
|
|
@ -47,7 +47,7 @@ static struct port_params tx_frame_params_wcd937x[SWR_MSTR_PORT_LEN] = {
|
|||
};
|
||||
|
||||
static struct swr_mstr_port_map sm_port_map[] = {
|
||||
{VA_MACRO, SWR_UC0, tx_frame_params_default},
|
||||
{VA_MACRO, SWR_UC0, tx_frame_params_4p8MHz},
|
||||
{RX_MACRO, SWR_UC0, rx_frame_params_default},
|
||||
{RX_MACRO, SWR_UC1, rx_frame_params_dsd},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue