]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] hda-codec - Support multiple headphone pins
authorTakashi Iwai <tiwai@suse.de>
Wed, 20 Sep 2006 15:10:27 +0000 (17:10 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:47:38 +0000 (10:47 +0200)
commiteb06ed8f4c2440558ebf465e8baeac6367d90201
tree60501d5c4e918f96d26033b95373f4368ca929e2
parent33ef765131bcf82bc5fca3f25d8313fa4df93ce0
[ALSA] hda-codec - Support multiple headphone pins

Some machines have multiple headpohne pins (usually on the lpatop
and on the docking station) while the current hda-codec driver
assumes a single headphone pin.  Now it supports multiple hp pins
(at least for detection).
The sigmatel 92xx code supports this new multiple hp pins.
It detects all hp pins for auto-muting, too.
Also, the driver checks speaker pins in addition.  In some cases,
all line-out, speaker and hp-pins coexist.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c