kernel-fxtec-pro1x/drivers/base/power
Alan Stern c7b61de5b7 PM / Runtime: Add synchronous runtime interface for interrupt handlers (v3)
This patch (as1431c) makes the synchronous runtime-PM interface
suitable for use in interrupt handlers.  Subsystems can call the new
pm_runtime_irq_safe() function to tell the PM core that a device's
runtime_suspend and runtime_resume callbacks should be invoked with
interrupts disabled and the spinlock held.  This permits the
pm_runtime_get_sync() and the new pm_runtime_put_sync_suspend()
routines to be called from within interrupt handlers.

When a device is declared irq-safe in this way, the PM core increments
the parent's usage count, so the parent will never be runtime
suspended.  This prevents difficult situations in which an irq-safe
device can't resume because it is forced to wait for its non-irq-safe
parent.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2010-12-24 15:02:41 +01:00
..
generic_ops.c PM / Runtime: Fix comments to match runtime callback code 2010-12-24 15:02:39 +01:00
main.c PM: Allow devices to be removed during late suspend and early resume 2010-11-11 01:50:53 +01:00
Makefile PM: Introduce library for device-specific OPPs (v7) 2010-10-17 01:57:50 +02:00
opp.c PM: Introduce library for device-specific OPPs (v7) 2010-10-17 01:57:50 +02:00
power.h PM / Runtime: Add no_callbacks flag 2010-10-17 01:57:47 +02:00
runtime.c PM / Runtime: Add synchronous runtime interface for interrupt handlers (v3) 2010-12-24 15:02:41 +01:00
sysfs.c PM / Runtime: Implement autosuspend support 2010-10-17 01:57:48 +02:00
trace.c PM: Add sysfs attr for rechecking dev hash from PM trace 2010-10-17 01:57:50 +02:00
wakeup.c PM / Wakeup: Show wakeup sources statistics in debugfs 2010-10-19 23:42:49 +02:00