diff options
| -rw-r--r-- | sound/soc/intel/skylake/skl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index 6e916c3c3a4b..72971dc55c52 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c | |||
| @@ -328,6 +328,8 @@ static int skl_free(struct hdac_ext_bus *ebus) | |||
| 328 | 328 | ||
| 329 | snd_hdac_ext_bus_exit(ebus); | 329 | snd_hdac_ext_bus_exit(ebus); |
| 330 | 330 | ||
| 331 | if (IS_ENABLED(CONFIG_SND_SOC_HDAC_HDMI)) | ||
| 332 | snd_hdac_i915_exit(&ebus->bus); | ||
| 331 | return 0; | 333 | return 0; |
| 332 | } | 334 | } |
| 333 | 335 | ||
| @@ -720,9 +722,6 @@ static void skl_remove(struct pci_dev *pci) | |||
| 720 | if (skl->tplg) | 722 | if (skl->tplg) |
| 721 | release_firmware(skl->tplg); | 723 | release_firmware(skl->tplg); |
| 722 | 724 | ||
| 723 | if (IS_ENABLED(CONFIG_SND_SOC_HDAC_HDMI)) | ||
| 724 | snd_hdac_i915_exit(&ebus->bus); | ||
| 725 | |||
| 726 | if (pci_dev_run_wake(pci)) | 725 | if (pci_dev_run_wake(pci)) |
| 727 | pm_runtime_get_noresume(&pci->dev); | 726 | pm_runtime_get_noresume(&pci->dev); |
| 728 | pci_dev_put(pci); | 727 | pci_dev_put(pci); |
