]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - allow "Headphone Mic" parser flag
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 11 Apr 2013 09:30:28 +0000 (11:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 11 Apr 2013 09:59:20 +0000 (11:59 +0200)
commitc2f6dd7d2a30ac2a248b5a67471f4e9b932d879e
treeebd0bbf1c57e79562dda04a9deca0194f10d3316
parent5a4172c756cce3d05c12578347449474762f4c98
ALSA: hda - allow "Headphone Mic" parser flag

This allows a specific mic to get the "Headphone Mic" name, in addition
to the existing "Headset Mic" name.

Also, it allows for a special mark: if the sequence number is set
to 0xc, that's an indication to prefer it for headset mic, and if it's
set to 0xd, that's an indication to prefer it for headphone mic.

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
sound/pci/hda/hda_generic.c