linux-stable-rt/drivers/base/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
..
Makefile PM QoS: Implement per-device PM QoS constraints 2011-08-25 15:35:41 +02:00
clock_ops.c PM / Clocks: Remove redundant NULL checks before kfree() 2011-10-22 00:22:54 +02:00
common.c PM: Move clock-related definitions and headers to separate file 2011-08-25 15:34:19 +02:00
domain.c PM / Sleep: Mark devices involved in wakeup signaling during suspend 2011-10-22 00:19:29 +02:00
generic_ops.c
main.c Merge branch 'pm-domains' into pm-for-linus 2011-10-22 00:21:52 +02:00
opp.c PM / OPP: Add OPP availability change notifier. 2011-09-30 22:35:12 +02:00
power.h PM / QoS: Add function dev_pm_qos_read_value() (v3) 2011-10-04 21:54:26 +02:00
qos.c PM / QoS: Add function dev_pm_qos_read_value() (v3) 2011-10-04 21:54:26 +02:00
runtime.c PM / Runtime: Automatically retry failed autosuspends 2011-11-04 22:28:14 +01:00
sysfs.c
trace.c
wakeup.c PM: Update the policy on default wakeup settings 2011-10-16 23:28:51 +02:00