diff options
-rw-r--r-- | sound/soc/codecs/wm8960.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c index d7f444f87460..3d8c75617d8d 100644 --- a/sound/soc/codecs/wm8960.c +++ b/sound/soc/codecs/wm8960.c | |||
@@ -226,11 +226,10 @@ static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); | |||
226 | static const DECLARE_TLV_DB_SCALE(bypass_tlv, -2100, 300, 0); | 226 | static const DECLARE_TLV_DB_SCALE(bypass_tlv, -2100, 300, 0); |
227 | static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1); | 227 | static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1); |
228 | static const DECLARE_TLV_DB_SCALE(lineinboost_tlv, -1500, 300, 1); | 228 | static const DECLARE_TLV_DB_SCALE(lineinboost_tlv, -1500, 300, 1); |
229 | static const unsigned int micboost_tlv[] = { | 229 | static const SNDRV_CTL_TLVD_DECLARE_DB_RANGE(micboost_tlv, |
230 | TLV_DB_RANGE_HEAD(2), | ||
231 | 0, 1, TLV_DB_SCALE_ITEM(0, 1300, 0), | 230 | 0, 1, TLV_DB_SCALE_ITEM(0, 1300, 0), |
232 | 2, 3, TLV_DB_SCALE_ITEM(2000, 900, 0), | 231 | 2, 3, TLV_DB_SCALE_ITEM(2000, 900, 0), |
233 | }; | 232 | ); |
234 | 233 | ||
235 | static const struct snd_kcontrol_new wm8960_snd_controls[] = { | 234 | static const struct snd_kcontrol_new wm8960_snd_controls[] = { |
236 | SOC_DOUBLE_R_TLV("Capture Volume", WM8960_LINVOL, WM8960_RINVOL, | 235 | SOC_DOUBLE_R_TLV("Capture Volume", WM8960_LINVOL, WM8960_RINVOL, |