aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 8689216fdcc..9bedca073e9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3729,10 +3729,7 @@ static int alc_init(struct hda_codec *codec)
3729 if (spec->init_hook) 3729 if (spec->init_hook)
3730 spec->init_hook(codec); 3730 spec->init_hook(codec);
3731 3731
3732#ifdef CONFIG_SND_HDA_POWER_SAVE 3732 hda_call_check_power_status(codec, 0x01);
3733 if (codec->patch_ops.check_power_status)
3734 codec->patch_ops.check_power_status(codec, 0x01);
3735#endif
3736 return 0; 3733 return 0;
3737} 3734}
3738 3735
@@ -4128,8 +4125,7 @@ static int alc_resume(struct hda_codec *codec)
4128 codec->patch_ops.init(codec); 4125 codec->patch_ops.init(codec);
4129 snd_hda_codec_resume_amp(codec); 4126 snd_hda_codec_resume_amp(codec);
4130 snd_hda_codec_resume_cache(codec); 4127 snd_hda_codec_resume_cache(codec);
4131 if (codec->patch_ops.check_power_status) 4128 hda_call_check_power_status(codec, 0x01);
4132 codec->patch_ops.check_power_status(codec, 0x01);
4133 return 0; 4129 return 0;
4134} 4130}
4135#endif 4131#endif
@@ -14703,8 +14699,7 @@ static int alc269_resume(struct hda_codec *codec)
14703 14699
14704 snd_hda_codec_resume_amp(codec); 14700 snd_hda_codec_resume_amp(codec);
14705 snd_hda_codec_resume_cache(codec); 14701 snd_hda_codec_resume_cache(codec);
14706 if (codec->patch_ops.check_power_status) 14702 hda_call_check_power_status(codec, 0x01);
14707 codec->patch_ops.check_power_status(codec, 0x01);
14708 return 0; 14703 return 0;
14709} 14704}
14710#endif /* SND_HDA_NEEDS_RESUME */ 14705#endif /* SND_HDA_NEEDS_RESUME */