]> git.hungrycats.org Git - linux/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>
Mon, 9 Dec 2024 09:32:52 +0000 (10:32 +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 bfc0632dd5ae17606951bbec1e2addd23f73fe50..c5731bf3a4c5bb6d8f3d779d23e05f9642b17951 100644 (file)
@@ -471,6 +471,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: