]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Support multiple headphone auto-mute
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Sep 2010 13:30:49 +0000 (15:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Sep 2010 13:48:29 +0000 (15:48 +0200)
commitcce32123176d244eae9119fd83f7ac31e24da0a1
tree72e476187fb90cdc27767c3b9962c764c54ccf59
parent2239854d642c45d633edbe44008dec6a9b1998a4
ALSA: hda - Support multiple headphone auto-mute

Currently headphone auto-mute using alc_automute_pin() assumes only
the single pin used for the headphone output.  Since there are devices
with multiple headphone jacks, we need to check all these pins there,
too.

Also this patch merges the common code between alc_automute_pin() and
alc_automute_amp() helper functions.

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