Message ID | 20200930114140.3839617-2-kai.vehmanen@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a0645daf16101bb9a6d87598c17e9a8b7bd60ea7 |
Headers | show |
Series | ALSA: HDA: Early Forbid of runtime PM | expand |
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index e96a87f1b611..a356c21edb90 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -1000,6 +1000,9 @@ int snd_hda_codec_device_new(struct hda_bus *bus, struct snd_card *card, if (err < 0) goto error; + /* PM runtime needs to be enabled later after binding codec */ + pm_runtime_forbid(&codec->core.dev); + return 0; error: