From: Mark Brown Date: Wed, 22 Aug 2012 16:30:13 +0000 (+0100) Subject: ASoC: wm9712: Provide TLV information for capture boost controls X-Git-Tag: next-20120823~53^2~2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3eadd88a37c330a83bfdee35b3e5837b7c2f7214;p=karo-tx-linux.git ASoC: wm9712: Provide TLV information for capture boost controls Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index c9c696ca76f7..6aa1bf8c6897 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c @@ -132,8 +132,9 @@ SOC_SINGLE("Aux Playback Phone Volume", AC97_CD, 4, 7, 1), SOC_SINGLE("Phone Volume", AC97_PHONE, 0, 15, 1), SOC_DOUBLE("Line Capture Volume", AC97_LINE, 8, 0, 31, 1), -SOC_SINGLE("Capture 20dB Boost Switch", AC97_REC_SEL, 14, 1, 0), -SOC_SINGLE("Capture to Phone 20dB Boost Switch", AC97_REC_SEL, 11, 1, 1), +SOC_SINGLE_TLV("Capture Boost Switch", AC97_REC_SEL, 14, 1, 0, boost_tlv), +SOC_SINGLE_TLV("Capture to Phone Boost Switch", AC97_REC_SEL, 11, 1, 1, + boost_tlv), SOC_SINGLE("3D Upper Cut-off Switch", AC97_3D_CONTROL, 5, 1, 1), SOC_SINGLE("3D Lower Cut-off Switch", AC97_3D_CONTROL, 4, 1, 1),