diff options
author | Francois Mazard <f-mazard@ti.com> | 2010-12-10 22:06:03 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-14 15:36:38 -0500 |
commit | cb973d78f82f038c7d8d78d469fb89842d246871 (patch) | |
tree | 496381d97916caa014d5795f00b04378598b0c24 /sound/soc/codecs/twl6040.c | |
parent | 60ea4cecddd03ed86b91bc8c057d3d305dc678be (diff) |
ASoC: twl6040: Fix analog Mic L & R mux controls
The mux control has 4 elements not 3
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/twl6040.c')
-rw-r--r-- | 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 b59d947d0bfe..5081e812c528 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -508,8 +508,8 @@ static const char *twl6040_amicr_texts[] = | |||
508 | {"Headset Mic", "Sub Mic", "Aux/FM Right", "Off"}; | 508 | {"Headset Mic", "Sub Mic", "Aux/FM Right", "Off"}; |
509 | 509 | ||
510 | static const struct soc_enum twl6040_enum[] = { | 510 | static const struct soc_enum twl6040_enum[] = { |
511 | SOC_ENUM_SINGLE(TWL6040_REG_MICLCTL, 3, 3, twl6040_amicl_texts), | 511 | SOC_ENUM_SINGLE(TWL6040_REG_MICLCTL, 3, 4, twl6040_amicl_texts), |
512 | SOC_ENUM_SINGLE(TWL6040_REG_MICRCTL, 3, 3, twl6040_amicr_texts), | 512 | SOC_ENUM_SINGLE(TWL6040_REG_MICRCTL, 3, 4, twl6040_amicr_texts), |
513 | }; | 513 | }; |
514 | 514 | ||
515 | static const char *twl6040_hs_texts[] = { | 515 | static const char *twl6040_hs_texts[] = { |