diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index efd56a3396bd..fc1ddf408b9b 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -1677,7 +1677,8 @@ static void hda_call_codec_resume(struct hda_codec *codec) | |||
1677 | if (codec->patch_ops.resume) | 1677 | if (codec->patch_ops.resume) |
1678 | codec->patch_ops.resume(codec); | 1678 | codec->patch_ops.resume(codec); |
1679 | else { | 1679 | else { |
1680 | codec->patch_ops.init(codec); | 1680 | if (codec->patch_ops.init) |
1681 | codec->patch_ops.init(codec); | ||
1681 | snd_hda_codec_resume_amp(codec); | 1682 | snd_hda_codec_resume_amp(codec); |
1682 | snd_hda_codec_resume_cache(codec); | 1683 | snd_hda_codec_resume_cache(codec); |
1683 | } | 1684 | } |