aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r--drivers/pci/pci-driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index 11167c65ca37..50f93a3bc4c0 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -966,6 +966,7 @@ static int pci_pm_thaw_noirq(struct device *dev)
966 return pci_legacy_resume_early(dev); 966 return pci_legacy_resume_early(dev);
967 967
968 pci_update_current_state(pci_dev, PCI_D0); 968 pci_update_current_state(pci_dev, PCI_D0);
969 pci_restore_state(pci_dev);
969 970
970 if (drv && drv->pm && drv->pm->thaw_noirq) 971 if (drv && drv->pm && drv->pm->thaw_noirq)
971 error = drv->pm->thaw_noirq(dev); 972 error = drv->pm->thaw_noirq(dev);