I'm preparing upstreaming of some new hardware, which has headphone mic support, i e, you can use the headphone jack to plug in a TRS/TS mic instead of plugging in a headphone in that jack.
For this hardware, the existing hp_mic functionality won't work as the headphone and mic are on different pins.
David Henningsson (3): ALSA: hda - allow "Headphone Mic" parser flag ALSA: hda - add some small convenience functions to auto parser ALSA: hda - Handle Headphone Mic jack more generic
sound/pci/hda/hda_auto_parser.c | 68 ++++++++++++++++++++++++++++++++------- sound/pci/hda/hda_auto_parser.h | 29 +++++++++++++++-- sound/pci/hda/hda_generic.c | 12 +------ sound/pci/hda/hda_jack.c | 43 +++++++++++++++++-------- 4 files changed, 113 insertions(+), 39 deletions(-)