linux-stable/Documentation/power
Johan Hovold 72ec2e17f9 PM / runtime: Fix autosuspend documentation
Update the autosuspend documentation which claimed that the autosuspend
delay is not taken into account when using the non-autosuspend helper
functions, something which is no longer true since commit d66e6db28d
("PM / Runtime: Respect autosuspend when idle triggers suspend").

This specifically means that drivers must now disable autosuspend before
disabling runtime pm in probe error paths and remove callbacks if
pm_runtime_put_sync was being used to suspend the device before
returning. (If an idle callback can prevent suspend,
pm_runtime_put_sync_suspend must be used instead of pm_runtime_put_sync
as before.)

Also remove the claim that the autosuspend helpers behave "just like
the non-autosuspend counterparts", something which have never really
been true as some of the latter use idle notifications.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-04-19 23:29:17 +02:00
..
powercap
regulator regulator: Rename regulator_set_optimum_mode 2015-03-09 18:32:25 +00:00
00-INDEX PM / sleep / docs: Convert PM notifiers document to reST 2017-02-06 11:26:02 -07:00
apm-acpi.txt
basic-pm-debugging.txt PM / sleep: Update some system sleep documentation 2016-08-13 02:54:04 +02:00
charger-manager.txt Documentation: Charger Manager: Fix spelling mistakes 2014-09-16 11:01:27 +02:00
drivers-testing.txt
freezing-of-tasks.txt PM / sleep / docs: Convert PM notifiers document to reST 2017-02-06 11:26:02 -07:00
interface.txt PM / sleep: Update some system sleep documentation 2016-08-13 02:54:04 +02:00
opp.txt PM / OPP: Update Documentation to remove RCU specific bits 2017-01-30 09:22:23 +01:00
pci.txt PM / sleep / docs: Convert PM notifiers document to reST 2017-02-06 11:26:02 -07:00
pm_qos_interface.txt PM / QoS: Remove global notifiers 2017-02-23 23:05:58 +01:00
power_supply_class.txt power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
runtime_pm.txt PM / runtime: Fix autosuspend documentation 2017-04-19 23:29:17 +02:00
s2ram.txt PM / sleep: Mention async suspend in PM_TRACE documentation 2015-01-30 01:29:46 +01:00
states.txt PM / Documentation: Spelling s/wrtie/write/ 2017-02-18 02:18:39 +01:00
suspend-and-cpuhotplug.txt cpu-hotplug: convert cpu_hotplug_disabled to a counter 2015-08-05 11:46:44 -07:00
suspend-and-interrupts.txt genirq / PM: describe IRQF_COND_SUSPEND 2015-03-06 01:28:14 +01:00
swsusp-and-swap-files.txt
swsusp-dmcrypt.txt docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
swsusp.txt PM / hibernate: clarify resume documentation 2015-07-07 01:18:11 +02:00
tricks.txt
userland-swsusp.txt Documentation: power: Fix typo in Documentation/power 2014-11-08 09:15:14 -05:00
video.txt