diff options
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index f8a31ad0b203..9d88437cdcd1 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
@@ -478,6 +478,8 @@ static int wm8903_put_deemph(struct snd_kcontrol *kcontrol, | |||
478 | /* ALSA can only do steps of .01dB */ | 478 | /* ALSA can only do steps of .01dB */ |
479 | static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1); | 479 | static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1); |
480 | 480 | ||
481 | static const DECLARE_TLV_DB_SCALE(dac_boost_tlv, 0, 600, 0); | ||
482 | |||
481 | static const DECLARE_TLV_DB_SCALE(digital_sidetone_tlv, -3600, 300, 0); | 483 | static const DECLARE_TLV_DB_SCALE(digital_sidetone_tlv, -3600, 300, 0); |
482 | static const DECLARE_TLV_DB_SCALE(out_tlv, -5700, 100, 0); | 484 | static const DECLARE_TLV_DB_SCALE(out_tlv, -5700, 100, 0); |
483 | 485 | ||
@@ -698,6 +700,8 @@ SOC_ENUM("DAC Mute Mode", mute_mode), | |||
698 | SOC_SINGLE("DAC Mono Switch", WM8903_DAC_DIGITAL_1, 12, 1, 0), | 700 | SOC_SINGLE("DAC Mono Switch", WM8903_DAC_DIGITAL_1, 12, 1, 0), |
699 | SOC_ENUM("DAC Companding Mode", dac_companding), | 701 | SOC_ENUM("DAC Companding Mode", dac_companding), |
700 | SOC_SINGLE("DAC Companding Switch", WM8903_AUDIO_INTERFACE_0, 1, 1, 0), | 702 | SOC_SINGLE("DAC Companding Switch", WM8903_AUDIO_INTERFACE_0, 1, 1, 0), |
703 | SOC_SINGLE_TLV("DAC Boost Volume", WM8903_AUDIO_INTERFACE_0, 9, 3, 0, | ||
704 | dac_boost_tlv), | ||
701 | SOC_SINGLE_BOOL_EXT("Playback Deemphasis Switch", 0, | 705 | SOC_SINGLE_BOOL_EXT("Playback Deemphasis Switch", 0, |
702 | wm8903_get_deemph, wm8903_put_deemph), | 706 | wm8903_get_deemph, wm8903_put_deemph), |
703 | 707 | ||