aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-04-05 02:28:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-13 11:14:08 -0400
commit49d06c03741d3329e568ba7d88cb32e700ef9156 (patch)
tree6a455e740749e52875ae9412d4244a8c16ccd64c
parent1f69f7ff6a5f4bbdf1cd6619593fe0db9ff5e5c2 (diff)
ASoC: ak4642: fixup: mute needs +1 step
commit 1f99e44cf059d2ed43c5a0724fa738b83800f725 upstream. ak4642 out_tlv is +12.0dB to -115.0 dB, and it supports mute. But current settings didn't care +1 step for mute. This patch adds it Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--sound/soc/codecs/ak4642.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index 79c1b3d79f1..7d45197f5cf 100644
--- a/sound/soc/codecs/ak4642.c
+++ b/sound/soc/codecs/ak4642.c
@@ -143,7 +143,7 @@
143 * min : 0xFE : -115.0 dB 143 * min : 0xFE : -115.0 dB
144 * mute: 0xFF 144 * mute: 0xFF
145 */ 145 */
146static const DECLARE_TLV_DB_SCALE(out_tlv, -11500, 50, 1); 146static const DECLARE_TLV_DB_SCALE(out_tlv, -11550, 50, 1);
147 147
148static const struct snd_kcontrol_new ak4642_snd_controls[] = { 148static const struct snd_kcontrol_new ak4642_snd_controls[] = {
149 149