ALSA: hda - Fix silent output regression with ALC861
authorTakashi Iwai <tiwai@suse.de>
Sun, 6 Nov 2011 10:25:34 +0000 (11:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:04 +0000 (09:44 -0800)
commit06a7f3b7c095b22b5a8ddec54e38993f8e70058b
treea620d0ec0a917248f590f43d0f90504109b73450
parente39c381f3828cda41d6b96ce3612db66ad6eb786
ALSA: hda - Fix silent output regression with ALC861

commit 43dea228a3ba5463392281535dfb3d3fe56f4c2c upstream.

The 3.1 kernel has a regression for ALC861 codec where no sound output
is heard with the default setup.  It's because the amps in DACs aren't
properly unmuted while the output mixers are assigned only to pins.

This patch fixes the missing initialization of DACs when no mixer is
assigned to them.

Tested-by: Andrea Iob <andrea_iob@yahoo.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_realtek.c