summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorNicolas Schichan2013-05-29 20:01:20 +0200
committerMark Brown2013-05-29 20:24:39 +0200
commit7d8acf2cba81d7c64842b5dac0d7b3dae16f0378 (patch)
treec432d29c13c3f1ebf59a9bed57db31978dbc5e1d /sound/soc
parentASoC: cs42l52: use correct PCM mixer TLV dB scale to match datasheet. (diff)
downloadkernel-qcow2-linux-7d8acf2cba81d7c64842b5dac0d7b3dae16f0378.tar.gz
kernel-qcow2-linux-7d8acf2cba81d7c64842b5dac0d7b3dae16f0378.tar.xz
kernel-qcow2-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>
Diffstat (limited to 'sound/soc')
-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[] = {