ALSA: hda - change the location for one mic on a Lenovo machine
authorHui Wang <[email protected]>
Fri, 22 Dec 2017 03:17:46 +0000 (11:17 +0800)
committerTakashi Iwai <[email protected]>
Fri, 22 Dec 2017 09:27:10 +0000 (10:27 +0100)
commit8da5bbfc7cbba909f4f32d5e1dda3750baa5d853
treedf828923f48e7c8aaff46e7cb0cfc6842bc46901
parent285d5ddcffafa5d5e68c586f4c9eaa8b24a2897d
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: <[email protected]>
Signed-off-by: Hui Wang <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/hda/patch_realtek.c