summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-12-06 13:01:50 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2013-02-12 10:46:54 -0700
commitd3786dce2b0d362af35b26b3ff47211cd0ae3b12 (patch)
treecdac141b8f0905b0ca6a729da643a91e9a99ffe5
parent5a2f798fa47c5d6368808244ab3bfa51acc7bf33 (diff)
sgtl5000: microphone gain only has 2-bits of resolution, so max is 3
-rw-r--r--sound/soc/codecs/sgtl5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index fd055146192d..384ce8d3d617 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -602,7 +602,7 @@ static const struct snd_kcontrol_new sgtl5000_snd_controls[] = {
5, 1, 0),
SOC_SINGLE_TLV("Mic Volume", SGTL5000_CHIP_MIC_CTRL,
- 0, 4, 0, mic_gain_tlv),
+ 0, 3, 0, mic_gain_tlv),
/* Bass Enhance enable */
SOC_SINGLE("Bass Enable", SGTL5000_DAP_BASS_ENHANCE,