From: Kailang Yang <kailang@realtek.com> Date: Thu, 21 Nov 2024 08:16:26 +0000 (+0800) Subject: ALSA: hda/realtek: Set PCBeep to default value for ALC274 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=155699ccab7c78cbba69798242b68bc8ac66d5d2;p=users%2Fdwmw2%2Flinux.git ALSA: hda/realtek: Set PCBeep to default value for ALC274 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> --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index c53a5f8d1559e..d950666f9c744 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -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: