Messages in this thread | | | From | Pali Rohár <> | Subject | Re: [PATCH v2 2/2] power: bq27xxx_battery: add poll interval property query | Date | Mon, 31 Oct 2016 21:30:20 +0100 |
| |
On Monday 31 October 2016 21:22:18 Matt Ranostay wrote: > On Tue, Oct 25, 2016 at 11:47 AM, Matt Ranostay <mranostay@gmail.com> > wrote: > > On Mon, Oct 24, 2016 at 1:14 PM, Pavel Machek <pavel@ucw.cz> wrote: > >> On Mon 2016-10-24 12:58:25, Matt Ranostay wrote: > >>> Pavel + Sebastian this is the patchset that need I some input on > >>> :) > >> > >> Better then previous one. > > > >> But my version of bq27xxx_battery.c already contains this: > > This is for allowing udev rule to set the properties as well. > > otherwise a kinda crude RUN = " echo value > > > /sys/module/bq27xxx_battery/parameters/poll_interval" is required. > > Any thoughts on this?
Isn't sysfs /sys/module/bq27xxx_battery/parameters/poll_interval attribute what should be used to change module parameters like poll_interval?
-- Pali Rohár pali.rohar@gmail.com [unhandled content-type:application/pgp-signature] | |