Takashi Iwai d7a8943635 ALSA: hda - Fix IDT/STAC multiple HP detection
Due to the recent change for multiple HP as line-out switch, only
one of the multiple headphons (usually a wrong one) is toggled
and the other pins are still disabled.  This causes the silent output
problem on some Dell laptops.

Also, the hp_switch check is screwed up when a line-in or a mic-in
jack exists.  This is added as an additional output, but hp_switch
check doesn't take it into account.

This patch fixes these issues: simplify hp_switch check by using
the NID instead of bool, and clean up / fix the toggle of HP pins
in unsol event handler code.

Reference: Novell bnc#443267
	https://bugzilla.novell.com/show_bug.cgi?id=443267

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-12 10:00:56 +01:00
..
2008-09-23 08:18:10 +02:00
2008-10-10 13:41:58 +02:00
2008-08-25 09:57:17 +02:00
2008-09-09 09:10:52 +02:00
2008-09-04 10:33:55 +02:00
2008-05-27 15:56:20 +02:00
2007-02-09 09:03:54 +01:00
2008-08-29 10:06:21 +02:00
2008-01-31 17:29:48 +01:00
2007-05-21 09:18:19 -07:00