ALSA: hda - Preserve input pin-ctl bits in HP-automute for VIA codec
authorTakashi Iwai <tiwai@suse.de>
Mon, 11 Jul 2011 09:36:44 +0000 (11:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Jul 2011 09:36:44 +0000 (11:36 +0200)
commit9499473463628a1af4be5aea1ad8d35d3fd341b0
treeed321e5cd6719ab928410f8940d1fc3058629161
parent6e969d9155a4ee7bce800dfbee02099105ca5b97
ALSA: hda - Preserve input pin-ctl bits in HP-automute for VIA codec

For smart51 pins, we need to preserve the input pin-control bits at
auto-mute controls instead of overwriting zero or pin-out-only.
Otherwise the VREF won't be set properly when smart51 is disabled
again.

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