ALSA: hda - Don't pick up invalid HP pins in alc_subsystem_id()
authorTakashi Iwai <tiwai@suse.de>
Tue, 6 Oct 2009 11:21:54 +0000 (13:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 6 Oct 2009 11:21:54 +0000 (13:21 +0200)
commit01d4825df62d1d405035b90294bf38616d3f380b
treee74a6cc289d21a8da52d54bea61f6d7a978e225e
parentf8f25ba3563dab14b1c3ea4d829642b8a61ca5d7
ALSA: hda - Don't pick up invalid HP pins in alc_subsystem_id()

alc_subsystem_id() tries to pick up a headphone pin if not configured,
but this caused side-effects as the problem in commit
15870f05e90a365f8022da416e713be0c5024e2f.

This patch fixes the driver behavior to pick up invalid HP pins; at least,
the pins that are listed as the primary outputs aren't taken any more.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c