PCI/PM Runtime: Make runtime PM of PCI devices inactive by default
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 27 Feb 2010 20:37:37 +0000 (21:37 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 5 Mar 2010 23:09:39 +0000 (15:09 -0800)
commitbb910a7040e90a0ca3d3e8245d6d5c128a5d1287
tree1ee24e8ff4d4d1410db3af01a11193ce7595a980
parent64096c17417380d8a472d096645f4cbc9406c987
PCI/PM Runtime: Make runtime PM of PCI devices inactive by default

Make the run-time power management of PCI devices be inactive by
default by calling pm_runtime_forbid() for each PCI device during its
initialization.  This setting may be overriden by the user space with
the help of the /sys/devices/.../power/control interface.

That's necessary to avoid breakage on systems where ACPI-based
wake-up is known to fail for some devices.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c