lkml.org 
[lkml]   [2017]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in debugfs/regulator_summary
On Mon, Jun 19, 2017 at 05:47:33PM +0100, Mark Brown wrote:
> On Mon, Jun 19, 2017 at 06:41:34PM +0200, Michał Mirosław wrote:
> > On Mon, Jun 19, 2017 at 11:17:41AM +0100, Mark Brown wrote:
> > > On Sat, Jun 17, 2017 at 11:30:12PM +0200, Michał Mirosław wrote:
> > > > Extend regulator's info line with enabled/disabled status.
> > > Why is the use count not enough information here?
> > Regulators can be enabled without any users, because of eg. always-on.
> We should probably just have always-on be incrementing the use count
> instead if it's an issue.

That's another way of tackling the issue. This file is a debuging aid, so
I prefer to see precise state information in it rather than have it hide
some special cases like this. Not a strong opinion, though.

Best Regards,
Michał Mirosław

\
 
 \ /
  Last update: 2017-06-19 19:00    [W:0.042 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site