lkml.org 
[lkml]   [2017]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags
On Mon, Oct 16, 2017 at 03:29:02AM +0200, Rafael J. Wysocki wrote:
> +static inline void dev_pm_set_driver_flags(struct device *dev, unsigned int flags)
> +{
> + dev->power.driver_flags = flags;
> +}

Should this function just set the specific bit? Or is it going to be ok
to set the whole value, meaning you aren't going to care about turning
on and off specific flags over the lifetime of the driver/device, you
are just going to set them once and then just test them as needed?

thanks,

greg k-h

\
 
 \ /
  Last update: 2017-10-16 08:31    [W:0.378 / U:12.200 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site