]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ASoC: alc5632: Add voice DAC playback switch
authorAndrey Danin <danindrey@mail.ru>
Sat, 11 Feb 2012 21:26:29 +0000 (23:26 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 11 Feb 2012 22:55:54 +0000 (22:55 +0000)
Add voice DAC playback switch.

Signed-off-by: Andrey Danin <danindrey@mail.ru>
Signed-off-by: Leon Romanovsky <leon@leon.nu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/alc5632.c

index fce5e76ec28c223a687813172fe2bb7d0a928389..6bb6075dd242acb6c075b61eab2203c5481adb97 100644 (file)
@@ -176,6 +176,8 @@ static const struct snd_kcontrol_new alc5632_snd_controls[] = {
                        ALC5632_AUX_OUT_VOL, 15, 7, 1, 1),
        SOC_SINGLE_TLV("Voice DAC Playback Volume",
                        ALC5632_VOICE_DAC_VOL, 0, 63, 0, vdac_tlv),
+       SOC_SINGLE("Voice DAC Playback Switch",
+                       ALC5632_VOICE_DAC_VOL, 12, 1, 1),
        SOC_SINGLE_TLV("Phone Capture Volume",
                        ALC5632_PHONE_IN_VOL, 8, 31, 1, vol_tlv),
        SOC_DOUBLE_TLV("LineIn Capture Volume",