Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb973d78 authored by Francois Mazard's avatar Francois Mazard Committed by Liam Girdwood
Browse files

ASoC: twl6040: Fix analog Mic L & R mux controls



The mux control has 4 elements not 3

Signed-off-by: default avatarMargarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 60ea4cec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -508,8 +508,8 @@ static const char *twl6040_amicr_texts[] =
	{"Headset Mic", "Sub Mic", "Aux/FM Right", "Off"};

static const struct soc_enum twl6040_enum[] = {
	SOC_ENUM_SINGLE(TWL6040_REG_MICLCTL, 3, 3, twl6040_amicl_texts),
	SOC_ENUM_SINGLE(TWL6040_REG_MICRCTL, 3, 3, twl6040_amicr_texts),
	SOC_ENUM_SINGLE(TWL6040_REG_MICLCTL, 3, 4, twl6040_amicl_texts),
	SOC_ENUM_SINGLE(TWL6040_REG_MICRCTL, 3, 4, twl6040_amicr_texts),
};

static const char *twl6040_hs_texts[] = {