author: Linus Torvalds <torvalds@linux-foundation.org> 2020-12-15 16:49:59 -0800
committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-12-15 16:49:59 -0800
commit: 489e9fea66f31086f85d9a18e61e4791d94a56a4
parent: aab7ce2b099bd9df82573cd3170acf6518fdebeb
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/gpu/vga/vga_switcheroo.c b/drivers/gpu/vga/vga_switcheroo.c
index 1401fd52f37a..365e6ddbe90f 100644
--- a/drivers/gpu/vga/vga_switcheroo.c
+++ b/drivers/gpu/vga/vga_switcheroo.c
@@ -1038,7 +1038,7 @@ static int vga_switcheroo_runtime_resume(struct device *dev)
mutex_lock(&vgasr_mutex);
vga_switcheroo_power_switch(pdev, VGA_SWITCHEROO_ON);
mutex_unlock(&vgasr_mutex);
- pci_wakeup_bus(pdev->bus);
+ pci_resume_bus(pdev->bus);
return dev->bus->pm->runtime_resume(dev);
}