Messages in this thread | | | Date | Mon, 19 Jun 2017 18:59:39 +0200 | From | Michał Mirosław <> | Subject | Re: [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
| |