Skip to content

Commit 1b94e59

Browse files
committed
ALSA: hda/realtek - Add COEF workaround for ASUS ZenBook UX431DA
ASUS ZenBook UX431DA requires an additional COEF setup when booted from the recent Windows 10, otherwise it produces the noisy output. The quirk turns on COEF 0x1b bit 10 that has been cleared supposedly due to the pop noise reduction. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207553 Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7900e81 commit 1b94e59

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6090,6 +6090,7 @@ enum {
60906090
ALC294_FIXUP_ASUS_DUAL_SPK,
60916091
ALC285_FIXUP_THINKPAD_HEADSET_JACK,
60926092
ALC294_FIXUP_ASUS_HPE,
6093+
ALC294_FIXUP_ASUS_COEF_1B,
60936094
ALC285_FIXUP_HP_GPIO_LED,
60946095
ALC285_FIXUP_HP_MUTE_LED,
60956096
ALC236_FIXUP_HP_MUTE_LED,
@@ -7222,6 +7223,17 @@ static const struct hda_fixup alc269_fixups[] = {
72227223
.chained = true,
72237224
.chain_id = ALC294_FIXUP_ASUS_HEADSET_MIC
72247225
},
7226+
[ALC294_FIXUP_ASUS_COEF_1B] = {
7227+
.type = HDA_FIXUP_VERBS,
7228+
.v.verbs = (const struct hda_verb[]) {
7229+
/* Set bit 10 to correct noisy output after reboot from
7230+
* Windows 10 (due to pop noise reduction?)
7231+
*/
7232+
{ 0x20, AC_VERB_SET_COEF_INDEX, 0x1b },
7233+
{ 0x20, AC_VERB_SET_PROC_COEF, 0x4e4b },
7234+
{ }
7235+
},
7236+
},
72257237
[ALC285_FIXUP_HP_GPIO_LED] = {
72267238
.type = HDA_FIXUP_FUNC,
72277239
.v.func = alc285_fixup_hp_gpio_led,
@@ -7420,6 +7432,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
74207432
SND_PCI_QUIRK(0x1043, 0x19e1, "ASUS UX581LV", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE),
74217433
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
74227434
SND_PCI_QUIRK(0x1043, 0x1a30, "ASUS X705UD", ALC256_FIXUP_ASUS_MIC),
7435+
SND_PCI_QUIRK(0x1043, 0x1b11, "ASUS UX431DA", ALC294_FIXUP_ASUS_COEF_1B),
74237436
SND_PCI_QUIRK(0x1043, 0x1b13, "Asus U41SV", ALC269_FIXUP_INV_DMIC),
74247437
SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
74257438
SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),

0 commit comments

Comments
 (0)