Skip to contentSkip to conversation

ASoC: SMA1303: Change the value for right output

PATCH New Kiseok Jo 1 participant 1 message Feb 17, 2023

Subsystems (3)
lore
Share & tools
lore

Kiseok Jo

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/codecs/sma1303.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/sma1303.c +1 -1
index 727c01facf52..fa4b0a60f8a9 100644
@@ -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;

base-commit: ab2932214588224b11102e40ba2e78a6f099b8ef

Signature · 1 line
2.20.1