]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ALSA: hda/realtek: Set PCBeep to default value for ALC274
authorKailang Yang <kailang@realtek.com>
Thu, 21 Nov 2024 08:16:26 +0000 (16:16 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Nov 2024 08:17:14 +0000 (09:17 +0100)
BIOS Enable PC beep path cause pop noise via speaker during boot time.
Set to default value from driver will solve the issue.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/2721bb57e20a44c3826c473e933f9105@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index c53a5f8d1559e444ca67532dc6662185377bc21c..d950666f9c74435b2aa0fb3d2c240a5950d0f2ab 100644 (file)
@@ -473,6 +473,8 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
                break;
        case 0x10ec0234:
        case 0x10ec0274:
+               alc_write_coef_idx(codec, 0x6e, 0x0c25);
+               fallthrough;
        case 0x10ec0294:
        case 0x10ec0700:
        case 0x10ec0701: