summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2024-11-21 16:16:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-14 19:44:38 +0100
commit937a94c97797d307b42508e0a46b1d3e1a119a72 (patch)
tree502e01f45eca7dcc04773290eafab5ddb4b4fe23 /sound
parent2be4e4fe88419d24d7749cd3d50b7ddbcf2cfd1f (diff)
downloadlinux-937a94c97797d307b42508e0a46b1d3e1a119a72.tar.gz
linux-937a94c97797d307b42508e0a46b1d3e1a119a72.tar.bz2
linux-937a94c97797d307b42508e0a46b1d3e1a119a72.zip
ALSA: hda/realtek: Set PCBeep to default value for ALC274
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index efa465d94541..88b4e18af448 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -406,6 +406,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: