summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-11-12 09:48:04 +0100
committerTakashi Iwai <tiwai@suse.de>2008-11-12 10:00:56 +0100
commitd7a8943635485597ae7c6d554a8ccf3ce5a42d2d (patch)
treeceb41ca8ba7f143d2c9d63dec0fe60abc7d59a20 /sound/pci/hda/patch_analog.c
parent4f1e6bc3646ab50b8181555ab7e6eeab68b8632a (diff)
downloadkernel-crypto-d7a8943635485597ae7c6d554a8ccf3ce5a42d2d.tar.gz
kernel-crypto-d7a8943635485597ae7c6d554a8ccf3ce5a42d2d.tar.xz
kernel-crypto-d7a8943635485597ae7c6d554a8ccf3ce5a42d2d.zip
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>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
0 files changed, 0 insertions, 0 deletions