summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Schichan <nschichan@freebox.fr>2013-05-29 20:01:20 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-29 20:24:39 +0200
commit7d8acf2cba81d7c64842b5dac0d7b3dae16f0378 (patch)
treec432d29c13c3f1ebf59a9bed57db31978dbc5e1d
parentASoC: cs42l52: use correct PCM mixer TLV dB scale to match datasheet. (diff)
downloadlinux-7d8acf2cba81d7c64842b5dac0d7b3dae16f0378.tar.xz
linux-7d8acf2cba81d7c64842b5dac0d7b3dae16f0378.zip
ASoC: cs42l52: fix hp_gain_enum shift value.
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>
-rw-r--r--sound/soc/codecs/cs42l52.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c
index 756c204b62d8..987f728718c5 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[] = {