soc: soundwire: Ungate the swr rx ports
In soundwire version 1.7, rx soundwire port2/3 are extended to 32bits to use as PCM port too. When using for PDM port as well, need to ungate the ports for functionality to work. Change-Id: I1815a9337ab21e0000ca7dbfeaac4c01dadec0dc Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
@@ -989,7 +989,7 @@ static int lpass_cdc_rx_macro_set_prim_interpolator_rate(struct snd_soc_dai *dai
|
||||
(inp1_sel == int_1_mix1_inp + INTn_1_INP_SEL_RX0) ||
|
||||
(inp2_sel == int_1_mix1_inp + INTn_1_INP_SEL_RX0)) {
|
||||
int_fs_reg = LPASS_CDC_RX_RX0_RX_PATH_CTL +
|
||||
0x80 * j;
|
||||
LPASS_CDC_RX_MACRO_RX_PATH_OFFSET * j;
|
||||
pr_debug("%s: AIF_PB DAI(%d) connected to INT%u_1\n",
|
||||
__func__, dai->id, j);
|
||||
pr_debug("%s: set INT%u_1 sample rate to %u\n",
|
||||
@@ -1039,7 +1039,7 @@ static int lpass_cdc_rx_macro_set_mix_interpolator_rate(struct snd_soc_dai *dai,
|
||||
if (int_mux_cfg1_val == int_2_inp +
|
||||
INTn_2_INP_SEL_RX0) {
|
||||
int_fs_reg = LPASS_CDC_RX_RX0_RX_PATH_MIX_CTL +
|
||||
0x80 * j;
|
||||
LPASS_CDC_RX_MACRO_RX_PATH_OFFSET * j;
|
||||
pr_debug("%s: AIF_PB DAI(%d) connected to INT%u_2\n",
|
||||
__func__, dai->id, j);
|
||||
pr_debug("%s: set INT%u_2 sample rate to %u\n",
|
||||
|
Reference in New Issue
Block a user