aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-10-14 12:25:23 -0400
committerTakashi Iwai <tiwai@suse.de>2009-10-14 12:25:23 -0400
commit4b7348a15972274eb16182d10987f69da3e95719 (patch)
tree71587a871c8d48510992c847e81057972d8496e8 /sound/pci/hda/patch_realtek.c
parent491dc0437d4c56d11f78113eca3953cff87314f3 (diff)
ALSA: hda - Fix capture source checks for ALC662/663 codecs
The ALC662/663 parser calls wrongly alc880_auto_create_input_ctls() to check the capture source selections. This should be alc882, instead. Reference: Novell bnc#546918 http://bugzilla.novell.com/show_bug.cgi?id=546918 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index c08ca660daba..9b1cff83497f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -17374,7 +17374,7 @@ static int alc662_auto_create_extra_out(struct hda_codec *codec, hda_nid_t pin,
17374 17374
17375/* create playback/capture controls for input pins */ 17375/* create playback/capture controls for input pins */
17376#define alc662_auto_create_input_ctls \ 17376#define alc662_auto_create_input_ctls \
17377 alc880_auto_create_input_ctls 17377 alc882_auto_create_input_ctls
17378 17378
17379static void alc662_auto_set_output_and_unmute(struct hda_codec *codec, 17379static void alc662_auto_set_output_and_unmute(struct hda_codec *codec,
17380 hda_nid_t nid, int pin_type, 17380 hda_nid_t nid, int pin_type,