From 63efc9ab3bbba633809b9683fd2f51e3f4ea946e Mon Sep 17 00:00:00 2001 From: "Vangala, Amarnath" Date: Tue, 22 Sep 2020 22:05:48 +0530 Subject: [PATCH] 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 --- asoc/holi-port-config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/asoc/holi-port-config.h b/asoc/holi-port-config.h index abc23596a6a3..3d269688dad5 100644 --- a/asoc/holi-port-config.h +++ b/asoc/holi-port-config.h @@ -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}, };