android_kernel_xiaomi_sm8350/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
basic-pm-debugging.txt
devices.txt
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_qos_interface.txt
power_supply_class.txt
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
userland-swsusp.txt
video_extension.txt
video.txt