diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-12-05 00:13:03 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-12-05 00:13:03 +0100 |
commit | edb1daab8e91338b7e2a6c41faec695891ccda35 (patch) | |
tree | 2f5ce32e53fee349e7f0ffb384a5d952a0a94f2f /drivers/pci/pci.c | |
parent | Merge branch 'pci/misc' into next (diff) | |
parent | PCI/PM: Keep runtime PM enabled for unbound PCI devices (diff) | |
download | linux-edb1daab8e91338b7e2a6c41faec695891ccda35.tar.xz linux-edb1daab8e91338b7e2a6c41faec695891ccda35.zip |
Merge branch 'pci/huang-d3cold-fixes' into next
* pci/huang-d3cold-fixes:
PCI/PM: Keep runtime PM enabled for unbound PCI devices
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index adffc6f621e5..5b862b1c93c6 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1910,6 +1910,8 @@ void pci_pm_init(struct pci_dev *dev) u16 pmc; pm_runtime_forbid(&dev->dev); + pm_runtime_set_active(&dev->dev); + pm_runtime_enable(&dev->dev); device_enable_async_suspend(&dev->dev); dev->wakeup_prepared = false; |