lkml.org 
[lkml]   [2008]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2.6.28-rc3] regulator: add REGULATOR_MODE_OFF
On Wed, Nov 12, 2008 at 01:42:35PM -0800, David Brownell wrote:
> On Wednesday 12 November 2008, Mark Brown wrote:

> > It should be a separate patch, I'd say.

> So you think I should split my "v2" patch in two chunks?
> One distinguishing requested-vs=actual mode, and the other
> allowing the actual mode to include OFF. (Possibly by just
> reporting mode 0 ...)

I would certainly keep OFF as a separate patch, yes.

> > Thinking about it I'm not sure if the hardware or logical state should
> > be the primary. In terms of debugging power consumption and so on the

> If there are both "requested opmode" and "opmode" attributes
> in sysfs, I don't see how one would be "primary"!

The one returned by the in-kernel get_mode() and reported as "opmode" is
what I'd think of as primary.


\
 
 \ /
  Last update: 2008-11-13 00:11    [W:0.131 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site