]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda - Fix capture source widgets on ALC codecs
authorTakashi Iwai <tiwai@suse.de>
Fri, 15 Aug 2008 14:46:42 +0000 (16:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 17 Aug 2008 07:53:34 +0000 (09:53 +0200)
commitf511b01c8e747b80635c8b2acd61431abcab4b29
tree5adfb3fa53c124341f790ead8b41ba7376f5555b
parent97bb8129e5deb3c0584391a5d2348966732e2233
ALSA: hda - Fix capture source widgets on ALC codecs

On some Realtek codecs like ALC882 or ALC883, the capture source is
no mux but sum widget.  We have to initialize all channels properly
for this type, otherwise noises may come in from the unused route.

The patch assures to mute unused routes, and unmute the currently
selected route.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Daniel J Blueman <daniel.blueman@gmail.com>
sound/pci/hda/patch_realtek.c