]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Introduce "Headset Mic" name
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 21 Mar 2013 11:16:29 +0000 (12:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Mar 2013 16:17:21 +0000 (17:17 +0100)
commitfae2b6c965a4bb7b1e15278559b0cb7639ffa40a
treeda14e780cdd30e0e21e9651d3032b2de8a531439
parent138e0f4e10e40b25964f1d6d9bef1ab3800c352f
ALSA: hda - Introduce "Headset Mic" name

Headset mic jacks, i e TRRS style jacks with Headphone Left,
Headphone Right, Mic and GND signals, are becoming increasingly
common and are now being shipped by several manufacturers.

Unfortunately, the HDA specification does not give us any hint
of whether a Mic pin belongs to such a jack or not, but it would
still be helpful for the user to know (especially if there is one
TRS Mic jack and one TRRS headset jack).

This new fixup causes the first (non-dock, non-internal) mic to
be a headset mic jack. The algorithm can be later refined if needed.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c
sound/pci/hda/hda_auto_parser.h