aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index a06c9437cdeb..b445ae989421 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1714,6 +1714,7 @@ enum {
1714enum { 1714enum {
1715 ALC_FIXUP_ACT_PRE_PROBE, 1715 ALC_FIXUP_ACT_PRE_PROBE,
1716 ALC_FIXUP_ACT_PROBE, 1716 ALC_FIXUP_ACT_PROBE,
1717 ALC_FIXUP_ACT_INIT,
1717}; 1718};
1718 1719
1719static void alc_apply_fixup(struct hda_codec *codec, int action) 1720static void alc_apply_fixup(struct hda_codec *codec, int action)
@@ -3910,6 +3911,8 @@ static int alc_init(struct hda_codec *codec)
3910 if (spec->init_hook) 3911 if (spec->init_hook)
3911 spec->init_hook(codec); 3912 spec->init_hook(codec);
3912 3913
3914 alc_apply_fixup(codec, ALC_FIXUP_ACT_INIT);
3915
3913 hda_call_check_power_status(codec, 0x01); 3916 hda_call_check_power_status(codec, 0x01);
3914 return 0; 3917 return 0;
3915} 3918}
@@ -14871,7 +14874,7 @@ static void alc269_fixup_hweq(struct hda_codec *codec,
14871{ 14874{
14872 int coef; 14875 int coef;
14873 14876
14874 if (action != ALC_FIXUP_ACT_PROBE) 14877 if (action != ALC_FIXUP_ACT_INIT)
14875 return; 14878 return;
14876 coef = alc_read_coef_idx(codec, 0x1e); 14879 coef = alc_read_coef_idx(codec, 0x1e);
14877 alc_write_coef_idx(codec, 0x1e, coef | 0x80); 14880 alc_write_coef_idx(codec, 0x1e, coef | 0x80);