[ALSA] hda-codec - Fix capture mixers of ALC662 models
authorHerton Ronaldo Krzesinski <herton@mandriva.com>
Wed, 19 Dec 2007 16:49:02 +0000 (17:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:43 +0000 (17:29 +0100)
commit6e7939bb4de289d4e5176b08f1d00e42e0a07d77
treed1ef6cbdd8d6f6db98acf487edb51dfb6a1b2d7a
parentaa9673cf31c7daca42a9713c8aa604bce280e85d
[ALSA] hda-codec - Fix capture mixers of ALC662 models

The commit that added support for ASUS P701 eeepc also changed the
mixers of other ALC662 models, duplicating entries for the Capture
items, making them to not work anymore. This fixes it by removing
duplicated entries using where possible the common alc662_capture_mixer.
Also alc662_capture_mixer should use alc662* functions and not alc882
(I checked /proc/asound/card0/codec* on an eepc model and it's ok).

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/patch_realtek.c