From: Nicolas Schichan Date: Wed, 29 May 2013 18:01:20 +0000 (+0200) Subject: ASoC: cs42l52: fix hp_gain_enum shift value. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7d8acf2cba81d7c64842b5dac0d7b3dae16f0378;p=linux.git ASoC: cs42l52: fix hp_gain_enum shift value. Signed-off-by: Nicolas Schichan Acked-by: Brian Austin Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c index 756c204b62d86..987f728718c52 100644 --- a/sound/soc/codecs/cs42l52.c +++ b/sound/soc/codecs/cs42l52.c @@ -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[] = {