kernel-fxtec-pro1x/drivers/base/power
Alan Stern 3f9af0513a PM / Runtime: Replace boolean arguments with bitflags
The "from_wq" argument in __pm_runtime_suspend() and
__pm_runtime_resume() supposedly indicates whether or not the function
was called by the PM workqueue thread, but in fact it isn't always
used this way.  It really indicates whether or not the function should
return early if the requested operation is already in progress.

Along with this badly-named boolean argument, later patches in this
series will add several other boolean arguments to these functions and
others.  Therefore this patch (as1422) begins the conversion process
by replacing from_wq with a bitflag argument.  The same bitflags are
also used in __pm_runtime_get() and __pm_runtime_put(), where they
indicate whether or not the operation should be asynchronous.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2010-10-17 01:57:44 +02:00
..
generic_ops.c PM / Runtime: Lenient generic runtime pm callbacks 2010-10-17 01:57:41 +02:00
main.c PM: Fix potential issue with failing asynchronous suspend 2010-10-17 01:57:43 +02:00
Makefile PM: Make it possible to avoid races between wakeup and system sleep 2010-07-19 01:58:48 +02:00
power.h PM / Wakeup: Introduce wakeup source objects and event statistics (v3) 2010-10-17 01:57:43 +02:00
runtime.c PM / Runtime: Replace boolean arguments with bitflags 2010-10-17 01:57:44 +02:00
sysfs.c PM / Wakeup: Introduce wakeup source objects and event statistics (v3) 2010-10-17 01:57:43 +02:00
trace.c driver core: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:31 -08:00
wakeup.c PM / Wakeup: Introduce wakeup source objects and event statistics (v3) 2010-10-17 01:57:43 +02:00