Skip to content

Commit

Permalink
ASoC: SMA1303: Change the value for right output
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kiseok Jo authored and Mark Brown committed Feb 20, 2023
1 parent 22ce684 commit 51c58a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/sma1303.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ static int sma1303_aif_in_event(struct snd_soc_dapm_widget *w,
ret += sma1303_regmap_update_bits(sma1303,
SMA1303_11_SYSTEM_CTRL2,
SMA1303_LR_DATA_SW_MASK,
SMA1303_LR_DATA_SW_NORMAL,
SMA1303_LR_DATA_SW_SWAP,
&temp);
if (temp == true)
change = true;
Expand Down

0 comments on commit 51c58a1

Please sign in to comment.