]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:18 +0000 (19:51 +0100)
commit 155699ccab7c78cbba69798242b68bc8ac66d5d2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c

index f9ec1c370c22a52328b6b5f326556aa4e3e369be..7d73665ae0836a47ec9d001044380cf703498582 100644 (file)
@@ -463,6 +463,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: