Skip to content

Commit 51c58a1

Browse files
KiseokJobroonie
authored andcommitted
ASoC: SMA1303: Change the value for right output
This device can output mono, left or right. LR data should be swapped to output right data. Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com> Link: https://lore.kernel.org/r/20230217004403.10220-1-kiseok.jo@irondevice.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 22ce684 commit 51c58a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/codecs/sma1303.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ static int sma1303_aif_in_event(struct snd_soc_dapm_widget *w,
569569
ret += sma1303_regmap_update_bits(sma1303,
570570
SMA1303_11_SYSTEM_CTRL2,
571571
SMA1303_LR_DATA_SW_MASK,
572-
SMA1303_LR_DATA_SW_NORMAL,
572+
SMA1303_LR_DATA_SW_SWAP,
573573
&temp);
574574
if (temp == true)
575575
change = true;

0 commit comments

Comments
 (0)