lkml.org 
[lkml]   [2012]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 3/3] PM / Runtime: Add may_power_off flag to subsys data
Why?

-Len

On 03/29/2012 02:09 AM, Lin Ming wrote:

> Parent device will check child's may_power_off flag to see if child device can
> be powered off.
>
> Signed-off-by: Lin Ming <ming.m.lin@intel.com>
> ---
> include/linux/pm.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/pm.h b/include/linux/pm.h
> index e4982ac..c9953b4 100644
> --- a/include/linux/pm.h
> +++ b/include/linux/pm.h
> @@ -465,6 +465,7 @@ struct pm_subsys_data {
> #ifdef CONFIG_PM_GENERIC_DOMAINS
> struct pm_domain_data *domain_data;
> #endif
> + bool may_power_off;
> };
>
> struct dev_pm_info {




\
 
 \ /
  Last update: 2012-03-30 07:51    [W:0.047 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site