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)
commitf33f79f3d0e5caf04dd889cd7cf636261970f009
tree5329da71b43476d32e518c6900226e9828105b40
parent6ede2b7df92f4f8da1abfa831a038688fcf409ea
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