]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - change the location for one of two front microphones
authorHui Wang <hui.wang@canonical.com>
Fri, 7 Jul 2017 04:08:29 +0000 (12:08 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Jul 2017 06:10:15 +0000 (08:10 +0200)
commit345da4771454f18a2f4808f66628e055ee4600c7
tree5329da71b43476d32e518c6900226e9828105b40
parentb301f4253d046cf127319d8df960fb7dc9d6575a
ALSA: hda/realtek - change the location for one of two front microphones

On this Lenovo machine, there are two front mics, and both of them are
assigned the same name "Mic", but pulseaudio can't support two mics
with the same name, as a workaround, we change the location for one of
them, then the driver will assign "Front Mic" and "Mic" for them.

Cc: stable@vger.kernel.org
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c