summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dakinevich <jan.dakinevich@salutedevices.com>2024-02-18 21:00:07 +0300
committerDmitry Rokosov <rockosov@rulkc.org>2026-08-13 14:41:30 +0300
commit3f36d7b8dd1f64c669456f07ab49e019b3fe450a (patch)
tree0a516251fce270120112c9b1d308952213bd010d
parent3262f9c0abacfc29f1f30dd0ba723b274805d8d5 (diff)
downloadlinux-3f36d7b8dd1f64c669456f07ab49e019b3fe450a.tar.gz
linux-3f36d7b8dd1f64c669456f07ab49e019b3fe450a.zip
ASoC: meson: g12a-toacodec: fix "Lane Select" width
For both G12A and SM1 the width of "Lane Select" should be 2, not 3. Otherwise, it overlaps with "Source". Signed-off-by: Jan Dakinevich <jan.dakinevich@salutedevices.com> Signed-off-by: Dmitry Rokosov <rockosov@rulkc.org>
-rw-r--r--sound/soc/meson/g12a-toacodec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/meson/g12a-toacodec.c b/sound/soc/meson/g12a-toacodec.c
index a95375b53f0a..cf968ba21f92 100644
--- a/sound/soc/meson/g12a-toacodec.c
+++ b/sound/soc/meson/g12a-toacodec.c
@@ -227,11 +227,11 @@ static const struct snd_soc_dapm_route g12a_toacodec_routes[] = {
};
static const struct snd_kcontrol_new g12a_toacodec_controls[] = {
- SOC_SINGLE("Lane Select", TOACODEC_CTRL0, CTRL0_LANE_SEL, 3, 0),
+ SOC_SINGLE("Lane Select", TOACODEC_CTRL0, CTRL0_LANE_SEL, 2, 0),
};
static const struct snd_kcontrol_new sm1_toacodec_controls[] = {
- SOC_SINGLE("Lane Select", TOACODEC_CTRL0, CTRL0_LANE_SEL_SM1, 3, 0),
+ SOC_SINGLE("Lane Select", TOACODEC_CTRL0, CTRL0_LANE_SEL_SM1, 2, 0),
};
static const struct snd_soc_component_driver g12a_toacodec_component_drv = {