Message ID | 201209182347.34049.rjw@sisk.pl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux/drivers/pci/pci-driver.c =================================================================== --- linux.orig/drivers/pci/pci-driver.c +++ linux/drivers/pci/pci-driver.c @@ -1063,10 +1063,10 @@ static int pci_pm_runtime_suspend(struct return 0; } - if (!pci_dev->state_saved) + if (!pci_dev->state_saved) { pci_save_state(pci_dev); - - pci_finish_runtime_suspend(pci_dev); + pci_finish_runtime_suspend(pci_dev); + } return 0; }