summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-05-05 16:59:16 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-21 15:13:19 -0700
commitb4c2a9797cd113ed9022341d3990303b3c7a2d7a (patch)
tree774fb73aeca68e93b4ace6aba051a6f0a3b6fecc
parentdb257178dc770728f2866a8bafef33e6a96978b6 (diff)
downloadlinux-stable-b4c2a9797cd113ed9022341d3990303b3c7a2d7a.tar.gz
linux-stable-b4c2a9797cd113ed9022341d3990303b3c7a2d7a.tar.bz2
linux-stable-b4c2a9797cd113ed9022341d3990303b3c7a2d7a.zip
ASoC: SSM2602: Fix 'Mic Boost2' control
commit 36c90ab33feabbd63da775bd92ad356e5bd5cf56 upstream. The 'Mic Boost2' control's shift was off by one and thus was not working. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--sound/soc/codecs/ssm2602.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index 2727befd158e..977d0b64e9c4 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -139,7 +139,7 @@ SOC_DOUBLE_R("Capture Volume", SSM2602_LINVOL, SSM2602_RINVOL, 0, 31, 0),
SOC_DOUBLE_R("Capture Switch", SSM2602_LINVOL, SSM2602_RINVOL, 7, 1, 1),
SOC_SINGLE("Mic Boost (+20dB)", SSM2602_APANA, 0, 1, 0),
-SOC_SINGLE("Mic Boost2 (+20dB)", SSM2602_APANA, 7, 1, 0),
+SOC_SINGLE("Mic Boost2 (+20dB)", SSM2602_APANA, 8, 1, 0),
SOC_SINGLE("Mic Switch", SSM2602_APANA, 1, 1, 1),
SOC_SINGLE("Sidetone Playback Volume", SSM2602_APANA, 6, 3, 1),