From 4dc14eb6f9a608cadd8e8684922cbccb9b072abb Mon Sep 17 00:00:00 2001 From: naoto Date: Sat, 16 Mar 2024 21:38:10 +0100 Subject: [PATCH] [snd_hda_codec_realtek] Amp fix adjustments test --- snd_hda_codec_realtek/patch_realtek.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snd_hda_codec_realtek/patch_realtek.c b/snd_hda_codec_realtek/patch_realtek.c index 0178282..1b41ca0 100644 --- a/snd_hda_codec_realtek/patch_realtek.c +++ b/snd_hda_codec_realtek/patch_realtek.c @@ -4713,17 +4713,17 @@ static void alc245_fixup_hp_amp(struct hda_codec *codec, {{0x4c0, 0xb}, {0x400, 0x0}, {0x400, 0xbf}} }; - if (action != HDA_FIXUP_ACT_PRE_PROBE) return; + if (action != HDA_FIXUP_ACT_INIT) return; for (i = 0; i < 9; i++) { snd_hda_codec_write(codec, 0x20, 0, 0x500, 0x26); - msleep(20); + msleep(50); for (j = 0; j < 3; j++) { snd_hda_codec_write(codec, 0x20, 0, frames[i][j][0], frames[i][j][1]); - msleep(20); + msleep(50); } snd_hda_codec_write(codec, 0x20, 0, 0x4b0, 0x23); - msleep(20); + msleep(50); } }