[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKzfze-4RR3=iWrfRV3=KAiQUzS-18TfFSC_p9SivSub1aOpGQ@mail.gmail.com>
Date: Mon, 24 Oct 2016 12:55:17 -0700
From: Matt Ranostay <mranostay@...il.com>
To: Pavel Machek <pavel@....cz>
Cc: "Andrew F . Davis" <afd@...com>,
Sebastian Reichel <sre@...nel.org>, linux-pm@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Matt Ranostay <matt@...ostay.consulting>
Subject: Re: [PATCH 1/2] power: bq27xxx_battery: add configurable
poll_interval by sysfs
On Mon, Oct 24, 2016 at 12:51 PM, Pavel Machek <pavel@....cz> wrote:
> On Sun 2016-10-23 20:08:22, Matt Ranostay wrote:
>> On Fri, Oct 7, 2016 at 11:49 AM, Pavel Machek <pavel@....cz> wrote:
>> > On Fri 2016-09-16 20:42:54, Matt Ranostay wrote:
>> >> Allow the poll_interval to be runtime configurable via an sysfs entry.
>> >> This is needed for udev control of the poll interval.
>> >>
>> >> Signed-off-by: Matt Ranostay <matt@...ostay.consulting>
>> >
>> > working mail address would be nice here.
>> >
>> > sysfs files should be documented.
>> >
>>
>> Ok can do in next revision
>>
>> > Also... what is it good for?
>> >
>> > Do you have a device that needs non-standard interval?
>>
>> Basically we need to have the ability to dynamically change the
>> intervals. So closer to a battery drain we need to up the reporting
>> intervals.
>
> Umm, there seems to be mechanism there to change that already...?
>
Ah right. Commenting on the wrong patchset oops :).
> static const struct kernel_param_ops param_ops_poll_interval = {
> .get = param_get_uint,
> .set = poll_interval_param_set,
> };
>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Powered by blists - more mailing lists