]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/realtek - The Mic on a RedmiBook doesn't work
authorHui Wang <hui.wang@canonical.com>
Wed, 9 Sep 2020 02:00:41 +0000 (10:00 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Sep 2020 08:59:56 +0000 (10:59 +0200)
commitfc19d559b0d31b5b831fd468b10d7dadafc0d0ec
treec919d4dfdb7268129195e08c7a90d3ad15e1a5bc
parentc3cdf189276c2a63da62ee250615bd55e3fb680d
ALSA: hda/realtek - The Mic on a RedmiBook doesn't work

The Mic connects to the Nid 0x19, but the configuration of Nid 0x19
is not defined to Mic, and also need to set the coeff to enable the
auto detection on the Nid 0x19. After this change, the Mic plugging
in or plugging out could be detected and could record the sound from
the Mic.

And the coeff value is suggested by Kailang of Realtek.

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