[alsa-devel] [PATCH v2 09/16] ASoC: twl6040: Fix analog Mic L & R mux controls

Olaya, Margarita magi.olaya at ti.com
Sat Dec 11 04:06:03 CET 2010


From: Francois Mazard <f-mazard at ti.com>

The mux control has 4 elements not 3

Signed-off-by: Margarita Olaya Cabrera <magi.olaya at ti.com>
Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/twl6040.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 9776715..27fc1b9 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -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[] = {
-- 
1.7.0.4


More information about the Alsa-devel mailing list