ALSA: hda/realtek - Fix 2 front mics of codec 0x623
authorAaron Ma <aaron.ma@canonical.com>
Thu, 24 Oct 2019 11:44:39 +0000 (19:44 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Oct 2019 12:23:04 +0000 (14:23 +0200)
commit8a6c55d0f883e9a7e7c91841434f3b6bbf932bb2
tree3cfb1a6dde909757bd0ab137be400193189a480d
parentf0778871a13889b86a65d4ad34bef8340af9d082
ALSA: hda/realtek - Fix 2 front mics of codec 0x623

These 2 ThinkCentres installed a new realtek codec ID 0x623,
it has 2 front mics with the same location on pin 0x18 and 0x19.

Apply fixup ALC283_FIXUP_HEADSET_MIC to change 1 front mic
location to right, then pulseaudio can handle them.
One "Front Mic" and one "Mic" will be shown, and audio output works
fine.

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191024114439.31522-1-aaron.ma@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c