lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] PM: direct_complete_default and pm_runtime_enable_recursive
Date
Hi,

this is v3 of a series that adds API to make it more convenient for drivers to
opt into remaining runtime suspended when the system goes to sleep.

in this version I have replaced force_direct_complete with
direct_complete_default as suggested by Rafael and thus have had to add a
pm_runtime_enable_recursive() function call to make sure that all descendants
have runtime PM enabled.

Inheritance of the direct_complete_default flag has to be done in
device_pm_add instead of in pm_runtime_init because sometimes the parent won't
have been set yet by then.

Thanks,

Tomeu

Tomeu Vizoso (2):
PM / sleep: Add power.direct_complete_default flag
PM / Runtime: Add pm_runtime_enable_recursive

Documentation/power/runtime_pm.txt | 8 +++++++-
drivers/base/power/main.c | 5 +++++
drivers/base/power/runtime.c | 15 +++++++++++++++
include/linux/pm.h | 1 +
include/linux/pm_runtime.h | 1 +
5 files changed, 29 insertions(+), 1 deletion(-)

--
2.4.1



\
 
 \ /
  Last update: 2015-05-19 16:41    [W:0.555 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site