linux/Documentation/power
Alan Stern 886486b792 PM / Runtime: Automatically retry failed autosuspends
Originally, the runtime PM core would send an idle notification
whenever a suspend attempt failed.  The idle callback routine could
then schedule a delayed suspend for some time later.

However this behavior was changed by commit
f71648d73c (PM / Runtime: Remove idle
notification after failing suspend).  No notifications were sent, and
there was no clear mechanism to retry failed suspends.

This caused problems for the usbhid driver, because it fails
autosuspend attempts as long as a key is being held down.  Therefore
this patch (as1492) adds a mechanism for retrying failed
autosuspends.  If the callback routine updates the last_busy field so
that the next autosuspend expiration time is in the future, the
autosuspend will automatically be rescheduled.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Henrik Rydberg <rydberg@euromail.se>
Cc: <stable@kernel.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2011-11-04 22:28:14 +01:00
..
regulator
00-INDEX PM / Documentation: Update docs about suspend and CPU hotplug 2011-10-22 00:22:28 +02:00
apm-acpi.txt
basic-pm-debugging.txt Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2011-10-25 15:18:39 +02:00
devices.txt PM / Hibernate: Freeze kernel threads after preallocating memory 2011-10-16 23:28:52 +02:00
drivers-testing.txt
freezing-of-tasks.txt PM / Sleep: Update freezer documentation 2011-11-04 22:28:10 +01:00
interface.txt
notifiers.txt
opp.txt
pci.txt
pm_qos_interface.txt
power_supply_class.txt
runtime_pm.txt PM / Runtime: Automatically retry failed autosuspends 2011-11-04 22:28:14 +01:00
s2ram.txt
states.txt
suspend-and-cpuhotplug.txt PM / Documentation: Update docs about suspend and CPU hotplug 2011-10-22 00:22:28 +02:00
swsusp-and-swap-files.txt
swsusp-dmcrypt.txt
swsusp.txt
tricks.txt
userland-swsusp.txt
video.txt
video_extension.txt