drm/nouveau: Fix missing pci_disable_device() in nouveau_pmops_runtime_resume()
Subsystems (3)
PATCH 1/1 drm/nouveau: Fix missing pci_disable_device() in nouveau_pmops_runtime_resume()
Add missing pci_disable_device() in fail path of nouveau_do_resume().
Fixes 7bb6d4428d3d ("drm/nouveau: move the (far too many...) different s/r paths to the same place")
Signed-off-by Shang XiaoJing <[email protected]>
--- drivers/gpu/drm/nouveau/nouveau_drm.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/nouveau/nouveau_drm.c +1 -0
@@ -1068,6 +1068,7 @@ nouveau_pmops_runtime_resume(struct device *dev) ret =nouveau_do_resume (drm_dev, true);if (ret) {NV_ERROR (drm,"resume failed with: %d\n" , ret); +pci_disable_device (pdev);return ret; }
Signature · 1 line
2.17.1