[snd_hda_codec_realtek] Amp fix adjustments test
This commit is contained in:
parent
888dd34e93
commit
4dc14eb6f9
|
@ -4713,17 +4713,17 @@ static void alc245_fixup_hp_amp(struct hda_codec *codec,
|
||||||
{{0x4c0, 0xb}, {0x400, 0x0}, {0x400, 0xbf}}
|
{{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++) {
|
for (i = 0; i < 9; i++) {
|
||||||
snd_hda_codec_write(codec, 0x20, 0, 0x500, 0x26);
|
snd_hda_codec_write(codec, 0x20, 0, 0x500, 0x26);
|
||||||
msleep(20);
|
msleep(50);
|
||||||
for (j = 0; j < 3; j++) {
|
for (j = 0; j < 3; j++) {
|
||||||
snd_hda_codec_write(codec, 0x20, 0, frames[i][j][0], frames[i][j][1]);
|
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);
|
snd_hda_codec_write(codec, 0x20, 0, 0x4b0, 0x23);
|
||||||
msleep(20);
|
msleep(50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue