diff options
-rw-r--r-- | sound/soc/codecs/stac9766.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c index 0945c51df003..a718c653dab3 100644 --- a/sound/soc/codecs/stac9766.c +++ b/sound/soc/codecs/stac9766.c | |||
@@ -85,10 +85,10 @@ static SOC_ENUM_SINGLE_DECL(stac9766_boost2_enum, | |||
85 | static SOC_ENUM_SINGLE_DECL(stac9766_stereo_mic_enum, | 85 | static SOC_ENUM_SINGLE_DECL(stac9766_stereo_mic_enum, |
86 | AC97_STAC_STEREO_MIC, 2, stac9766_stereo_mic); | 86 | AC97_STAC_STEREO_MIC, 2, stac9766_stereo_mic); |
87 | 87 | ||
88 | static const DECLARE_TLV_DB_LINEAR(master_tlv, -4600, 0); | 88 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(master_tlv, -4650, 150, 0); |
89 | static const DECLARE_TLV_DB_LINEAR(record_tlv, 0, 2250); | 89 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(record_tlv, 0, 150, 0); |
90 | static const DECLARE_TLV_DB_LINEAR(beep_tlv, -4500, 0); | 90 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(beep_tlv, -4500, 300, 0); |
91 | static const DECLARE_TLV_DB_LINEAR(mix_tlv, -3450, 1200); | 91 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(mix_tlv, -3450, 150, 0); |
92 | 92 | ||
93 | static const struct snd_kcontrol_new stac9766_snd_ac97_controls[] = { | 93 | static const struct snd_kcontrol_new stac9766_snd_ac97_controls[] = { |
94 | SOC_DOUBLE_TLV("Speaker Volume", AC97_MASTER, 8, 0, 31, 1, master_tlv), | 94 | SOC_DOUBLE_TLV("Speaker Volume", AC97_MASTER, 8, 0, 31, 1, master_tlv), |