]> git.karo-electronics.de Git - linux-beck.git/blobdiff - sound/pci/hda/hda_codec.c
ALSA: hda - Fix unbalanced runtime PM notification at resume
[linux-beck.git] / sound / pci / hda / hda_codec.c
index afb90f48867f0bd4220ea9816820e750ca2722d1..69178c4f4113fad7fb3111b57d49247c8f2ebe5c 100644 (file)
@@ -4000,6 +4000,10 @@ static void hda_call_codec_resume(struct hda_codec *codec)
         * in the resume / power-save sequence
         */
        hda_keep_power_on(codec);
+       if (codec->pm_down_notified) {
+               codec->pm_down_notified = 0;
+               hda_call_pm_notify(codec->bus, true);
+       }
        hda_set_power_state(codec, AC_PWRST_D0);
        restore_shutup_pins(codec);
        hda_exec_init_verbs(codec);