summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/stac9766.c8
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,
85static SOC_ENUM_SINGLE_DECL(stac9766_stereo_mic_enum, 85static 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
88static const DECLARE_TLV_DB_LINEAR(master_tlv, -4600, 0); 88static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(master_tlv, -4650, 150, 0);
89static const DECLARE_TLV_DB_LINEAR(record_tlv, 0, 2250); 89static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(record_tlv, 0, 150, 0);
90static const DECLARE_TLV_DB_LINEAR(beep_tlv, -4500, 0); 90static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(beep_tlv, -4500, 300, 0);
91static const DECLARE_TLV_DB_LINEAR(mix_tlv, -3450, 1200); 91static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(mix_tlv, -3450, 150, 0);
92 92
93static const struct snd_kcontrol_new stac9766_snd_ac97_controls[] = { 93static 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),