linux/Documentation/power
Rafael J. Wysocki f08f5a0add PM / Runtime: Fix pm_runtime_suspended()
There are some situations (e.g. in __pm_generic_call()), where
pm_runtime_suspended() is used to decide whether or not to execute
a device's (system) ->suspend() callback.  The callback is not
executed if pm_runtime_suspended() returns true, but it does so
for devices that don't even support runtime PM, because the
power.disable_depth device field is ignored by it.  This leads to
problems (i.e. devices are not suspened when they should), so rework
pm_runtime_suspended() so that it returns false if the device's
power.disable_depth field is different from zero.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: stable@kernel.org
2010-12-16 17:12:25 +01:00
..
regulator regulator: Update e-mail address for Liam Girdwood 2010-09-01 12:59:34 +01:00
00-INDEX PM: Introduce library for device-specific OPPs (v7) 2010-10-17 01:57:50 +02:00
apm-acpi.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
basic-pm-debugging.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
devices.txt PM: Improve device power management document 2010-05-10 23:08:16 +02:00
drivers-testing.txt
freezing-of-tasks.txt
interface.txt PM / Hibernate: Make default image size depend on total RAM size 2010-10-17 01:57:43 +02:00
notifiers.txt
opp.txt PM / OPP: Hide OPP configuration when SoCs do not provide an implementation 2010-11-11 01:51:26 +01:00
pci.txt PM/PCI: Update PCI power management documentation 2010-05-18 15:01:58 -07:00
pm_qos_interface.txt PM QOS update 2010-05-10 23:08:19 +02:00
power_supply_class.txt power_supply: Add a charge_type property, and use it for olpc driver 2009-07-02 18:14:37 +04:00
runtime_pm.txt PM / Runtime: Fix pm_runtime_suspended() 2010-12-16 17:12:25 +01:00
s2ram.txt PM: Add sysfs attr for rechecking dev hash from PM trace 2010-10-17 01:57:50 +02:00
states.txt
swsusp-and-swap-files.txt
swsusp-dmcrypt.txt
swsusp.txt PM / Hibernate: Compress hibernation image with LZO 2010-10-17 01:57:42 +02:00
tricks.txt update email address 2010-07-19 10:56:54 +02:00
userland-swsusp.txt PM / Hibernate: document open(/dev/snapshot) side effects 2010-05-10 23:08:17 +02:00
video.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
video_extension.txt