ASoC: cs42l52: fix hp_gain_enum shift value.
authorNicolas Schichan <nschichan@freebox.fr>
Wed, 29 May 2013 18:01:20 +0000 (20:01 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 29 May 2013 18:24:39 +0000 (19:24 +0100)
Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs42l52.c

index 756c204b62d86c11bcdc3401acffc925dad5a9ae..987f728718c52cad7ee2a5f1c5dd8dc2fc6d3f02 100644 (file)
@@ -262,7 +262,7 @@ static const char * const hp_gain_num_text[] = {
 };
 
 static const struct soc_enum hp_gain_enum =
-       SOC_ENUM_SINGLE(CS42L52_PB_CTL1, 4,
+       SOC_ENUM_SINGLE(CS42L52_PB_CTL1, 5,
                ARRAY_SIZE(hp_gain_num_text), hp_gain_num_text);
 
 static const char * const beep_pitch_text[] = {