linux-stable/sound/pci
Marios Levogiannis 6737f23bcb ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS
commit 9bfa7b3634 upstream.

Set microphone pins 0x18 (rear) and 0x19 (front) to VREF_50 to fix the
microphone noise on ASUS TUF B550M-PLUS which uses the ALCS1200A codec.
The initial value was VREF_80.

The same issue is also present on Windows using both the default Windows
driver and all tested Realtek drivers before version 6.0.9049.1. Comparing
Realtek driver 6.0.9049.1 (the first one without the microphone noise) to
Realtek driver 6.0.9047.1 (the last one with the microphone noise)
revealed that the fix is the result of setting pins 0x18 and 0x19 to
VREF_50.

This fix may also work for other boards that have been reported to have
the same microphone issue and use the ALC1150 and ALCS1200A codecs, since
these codecs are similar and the fix in the Realtek driver on Windows is
common for both. However, it is currently enabled only for ASUS TUF
B550M-PLUS as this is the only board that could be tested.

Signed-off-by: Marios Levogiannis <marios.levogiannis@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220530074131.12258-1-marios.levogiannis@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:25:13 +02:00
..
ac97 ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec 2022-03-28 10:03:20 +02:00
ali5451 ALSA: ali5451: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:07 +02:00
asihpi ALSA: asihpi: fix comment syntax in file headers 2021-03-18 10:13:25 +01:00
au88x0 ALSA: au88x0: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
aw2 ALSA: aw2: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
ca0106 ALSA: ca0106: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
cs46xx ALSA: pci: cs46xx: Fix set up buffer type properly 2021-08-09 10:04:05 +02:00
cs5535audio ALSA: cs5535audio: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
ctxfi ALSA: ctxfi: Add SB046x PCI ID 2022-05-30 09:27:19 +02:00
echoaudio ALSA: echoaudio: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
emu10k1 ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
hda ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS 2022-06-09 10:25:13 +02:00
ice1712 ALSA: ice1724: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
korg1212 ALSA: korg1212: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
lola ALSA: lola: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
lx6464es ALSA: lx6464es: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
mixart ALSA: mixart: Add sanity check for timer notify streams 2021-12-07 16:35:58 +01:00
nm256 ALSA: nm256: Don't call card private_free at probe error path 2022-04-20 09:36:11 +02:00
oxygen ALSA: oxygen: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
pcxhr ALSA: pcxhr: "fix" PCXHR_REG_TO_PORT definition 2021-09-16 11:09:04 +02:00
riptide ALSA: riptide: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
rme9652 ALSA: rme9652: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
trident ALSA: trident: Allocate resources with device-managed APIs 2021-07-19 16:17:08 +02:00
vx222 ALSA: vx222: fix null-ptr-deref 2021-09-07 07:13:19 +02:00
ymfpci ALSA: ymfpci: Allocate resources with device-managed APIs 2021-07-19 16:17:11 +02:00
ad1889.c ALSA: ad1889: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:16 +02:00
ad1889.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ak4531_codec.c ALSA: ak4531: Fix assignment in if condition 2021-06-09 17:29:49 +02:00
als300.c ALSA: als300: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:07 +02:00
als4000.c ALSA: als4000: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:07 +02:00
atiixp.c ALSA: atiixp: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
atiixp_modem.c ALSA: atiixp: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
azt3328.c ALSA: azt3328: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
azt3328.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bt87x.c ALSA: bt87x: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
cmipci.c ALSA: cmipci: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
cs4281.c ALSA: cs4281: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:08 +02:00
cs5530.c ALSA: cs5530: Allocate resources with device-managed APIs 2021-07-19 16:16:43 +02:00
ens1370.c ALSA: ens137x: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
ens1371.c
es1938.c ALSA: es1938: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
es1968.c ALSA: es1968: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
fm801.c ALSA: fm801: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
intel8x0.c ALSA: intel8x0: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
intel8x0m.c ALSA: intel8x0: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:09 +02:00
Kconfig ALSA: ISA: not for M68K 2021-10-17 09:03:20 +02:00
maestro3.c ALSA: maestro3: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rme32.c ALSA: rme32: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
rme96.c ALSA: rme96: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
sis7019.c ALSA: sis7019: Fix the missing error handling 2022-04-20 09:36:07 +02:00
sis7019.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 274 2019-06-05 17:30:30 +02:00
sonicvibes.c ALSA: sonicvibes: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:11 +02:00
via82xx.c ALSA: via82xx: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:11 +02:00
via82xx_modem.c ALSA: via82xx: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:11 +02:00