ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
authorHui Wang <hui.wang@canonical.com>
Wed, 4 Sep 2019 05:53:27 +0000 (13:53 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Sep 2019 06:36:57 +0000 (08:36 +0200)
commit2a36c16efab254dd6017efeb35ad88ecc96f2328
tree82aaaa9fe73d60c5ce887ff9ae023390371b4528
parent60083f9e94b2f28047d71ed778adf89357c1a8fb
ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre

This ThinkCentre machine has a new realtek codec alc222, it is not
in the support list, we add it in the realtek.c then this machine
can apply FIXUPs for the realtek codec.

And this machine has two front mics which can't be handled
by PA so far, it uses the pin 0x18 and 0x19 as the front mics, as
a result the existing FIXUP ALC294_FIXUP_LENOVO_MIC_LOCATION doesn't
work on this machine. Fortunately another FIXUP
ALC283_FIXUP_HEADSET_MIC also can change the location for one of the
two mics on this machine.

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