Skip to content

Commit

Permalink
ALSA: hda - Fix capture source checks for ALC662/663 codecs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tiwai committed Oct 14, 2009
1 parent 491dc04 commit 4b7348a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -17374,7 +17374,7 @@ static int alc662_auto_create_extra_out(struct hda_codec *codec, hda_nid_t pin,

/* create playback/capture controls for input pins */
#define alc662_auto_create_input_ctls \
alc880_auto_create_input_ctls
alc882_auto_create_input_ctls

static void alc662_auto_set_output_and_unmute(struct hda_codec *codec,
hda_nid_t nid, int pin_type,
Expand Down

0 comments on commit 4b7348a

Please sign in to comment.