Commit 51c58a1e authored by Kiseok Jo's avatar Kiseok Jo Committed by Mark Brown

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: default avatarKiseok Jo <kiseok.jo@irondevice.com>
Link: https://lore.kernel.org/r/20230217004403.10220-1-kiseok.jo@irondevice.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 22ce6843
...@@ -569,7 +569,7 @@ static int sma1303_aif_in_event(struct snd_soc_dapm_widget *w, ...@@ -569,7 +569,7 @@ static int sma1303_aif_in_event(struct snd_soc_dapm_widget *w,
ret += sma1303_regmap_update_bits(sma1303, ret += sma1303_regmap_update_bits(sma1303,
SMA1303_11_SYSTEM_CTRL2, SMA1303_11_SYSTEM_CTRL2,
SMA1303_LR_DATA_SW_MASK, SMA1303_LR_DATA_SW_MASK,
SMA1303_LR_DATA_SW_NORMAL, SMA1303_LR_DATA_SW_SWAP,
&temp); &temp);
if (temp == true) if (temp == true)
change = true; change = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment