]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ALSA: hda - Unmute docking line-out as default with AD1984A codec
authorTakashi Iwai <tiwai@suse.de>
Tue, 1 Sep 2009 07:09:26 +0000 (09:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Sep 2009 07:09:26 +0000 (09:09 +0200)
Unmute the docking-station line-out as default on machines with
AD1984A codec chip.  It can be still muted via "Dock" mixer switch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c

index db3f3b15f0e215dfa6c2c5db8c291ed49fa3bfd5..215e72a8711306567bf3c898b5ef02caeb5ef5a4 100644 (file)
@@ -3885,6 +3885,8 @@ static struct hda_verb ad1884a_laptop_verbs[] = {
        {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80},
        {0x14, AC_VERB_SET_AMP_GAIN_MUTE, 0x7002}, /* raise mic as default */
        {0x15, AC_VERB_SET_AMP_GAIN_MUTE, 0x7002}, /* raise mic as default */
+       /* Port-D (docking line-out) pin - default unmuted */
+       {0x12, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
        /* analog mix */
        {0x20, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(4)},
        /* unsolicited event for pin-sense */