From: Vinod Koul Date: Tue, 15 Feb 2011 12:58:53 +0000 (+0530) Subject: ASoC: sn95031: fix the amic tlv scale X-Git-Tag: v2.6.39-rc1~200^2^2~82 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=65e9625e1f86658ee869420713be3afb9a75debd;p=~shefty%2Frdma-dev.git ASoC: sn95031: fix the amic tlv scale The tlv scale is defined as (min, step, mute). The mute is not supported here so put the value to 0 Signed-off-by: Vinod Koul Signed-off-by: Harsha Priya Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c index 5eb39c7ed96..2a30eae1881 100644 --- a/sound/soc/codecs/sn95031.c +++ b/sound/soc/codecs/sn95031.c @@ -359,7 +359,7 @@ static const struct snd_kcontrol_new sn95031_input4_mux_control = static const char *sn95031_micmode_text[] = {"Single Ended", "Differential"}; /* 0dB to 30dB in 10dB steps */ -static const DECLARE_TLV_DB_SCALE(mic_tlv, 0, 10, 30); +static const DECLARE_TLV_DB_SCALE(mic_tlv, 0, 10, 0); static const struct soc_enum sn95031_micmode1_enum = SOC_ENUM_SINGLE(SN95031_MICAMP1, 1, 2, sn95031_micmode_text);