]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - change the location for one mic on a Lenovo machine
authorHui Wang <hui.wang@canonical.com>
Fri, 22 Dec 2017 03:17:46 +0000 (11:17 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Dec 2017 09:27:10 +0000 (10:27 +0100)
commitfdabca5aadd00b72fcbc1cf322616af4b378bc9a
treedf828923f48e7c8aaff46e7cb0cfc6842bc46901
parentabf301ab91a0f69946c24f5412798d5966944f63
ALSA: hda - change the location for one mic on a Lenovo machine

There are two front mics on this machine, and current driver assign
the same name Mic to both of them, but pulseaudio can't handle them.
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