summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorLinus Torvalds2010-03-09 01:10:29 +0100
committerLinus Torvalds2010-03-09 01:10:29 +0100
commit522dba7134d6b2e5821d3457f7941ec34f668e6d (patch)
treee2ad937216c513a545abbe4ccff0c57519b9c080 /drivers/pci
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable (diff)
parentPCI/PM Runtime: Make runtime PM of PCI devices inactive by default (diff)
downloadkernel-qcow2-linux-522dba7134d6b2e5821d3457f7941ec34f668e6d.tar.gz
kernel-qcow2-linux-522dba7134d6b2e5821d3457f7941ec34f668e6d.tar.xz
kernel-qcow2-linux-522dba7134d6b2e5821d3457f7941ec34f668e6d.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: PCI/PM Runtime: Make runtime PM of PCI devices inactive by default
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 897fa5ccdb78..fdcf01af6762 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1583,8 +1583,10 @@ void pci_pm_init(struct pci_dev *dev)
int pm;
u16 pmc;
+ pm_runtime_forbid(&dev->dev);
device_enable_async_suspend(&dev->dev);
dev->wakeup_prepared = false;
+
dev->pm_cap = 0;
/* find PCI PM capability in list */