[alsa-devel] [PATCH 08/15] ASoC: twl6040: Fix analog Mic L & R mux controls
Olaya, Margarita
magi.olaya at ti.com
Tue Dec 7 01:18:04 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>
---
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 e6a7bf9..d92fb6d 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -473,8 +473,8 @@ static const char *twl6040_hf_texts[] = {
};
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),
SOC_ENUM_SINGLE(TWL6040_REG_HSLCTL, 5, 3, twl6040_hs_texts),
SOC_ENUM_SINGLE(TWL6040_REG_HSRCTL, 5, 3, twl6040_hs_texts),
SOC_ENUM_SINGLE(TWL6040_REG_HFLCTL, 2, 3, twl6040_hf_texts),
--
1.7.0.4
More information about the Alsa-devel
mailing list