Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1669486

Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in debugfs/regulator_summary

From Michał Mirosław <mirq-linux@rere.qmqm.pl>
Newsgroups linux.kernel
Subject Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in debugfs/regulator_summary
Date 2017-06-19 19:00 +0200
Message-ID <tU8bU-5do-7@gated-at.bofh.it> (permalink)
References <tTtBL-4x1-3@gated-at.bofh.it> <tU1WN-1kn-9@gated-at.bofh.it> <tU82e-5a3-9@gated-at.bofh.it> <tU82d-5a3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RESEND v2 1/2] regulator: include 'enabled' status in  debugfs/regulator_summary Michał Mirosław <mirq-linux@rere.qmqm.pl> - 2017-06-17 23:40 +0200
  Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in  debugfs/regulator_summary Mark Brown <broonie@kernel.org> - 2017-06-19 12:20 +0200
    Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in  debugfs/regulator_summary Mark Brown <broonie@kernel.org> - 2017-06-19 18:50 +0200
      Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in  debugfs/regulator_summary Michał Mirosław <mirq-linux@rere.qmqm.pl> - 2017-06-19 19:00 +0200
        Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in  debugfs/regulator_summary Mark Brown <broonie@kernel.org> - 2017-06-19 19:50 +0200
    Re: [PATCH RESEND v2 1/2] regulator: include 'enabled' status in  debugfs/regulator_summary Michał Mirosław <mirq-linux@rere.qmqm.pl> - 2017-06-19 18:50 +0200

csiph-web