[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161030200409.GA14808@basecamp.onstation.org>
Date: Sun, 30 Oct 2016 16:04:09 -0400
From: Brian Masney <masneyb@...tation.org>
To: Jonathan Cameron <jic23@...nel.org>
Cc: linux-iio@...r.kernel.org, devel@...verdev.osuosl.org,
gregkh@...uxfoundation.org, lars@...afoo.de, pmeerw@...erw.net,
knaack.h@....de, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, robh+dt@...nel.org,
Mark.Rutland@....com
Subject: Re: [PATCH 07/10] staging: iio: tsl2583: convert
illuminance0_calibscale sysfs attr to use iio_chan_spec
On Sun, Oct 30, 2016 at 06:37:40PM +0000, Jonathan Cameron wrote:
> On 28/10/16 11:00, Brian Masney wrote:
> > The illuminance0_calibscale sysfs attribute is not currently created by
> > the IIO core. This patch adds the appropriate mask to iio_chan_spec,
> > along with the appropriate data handling in the read_raw() and
> > write_raw() functions, so that the sysfs attribute is created by the IIO
> > core. With this change, this sysfs entry will have its prefix changed
> > from illuminance0_ to in_illuminance_.
> >
> > Signed-off-by: Brian Masney <masneyb@...tation.org>
> Hmm. Could probably have computed the mean on the fly but fine as is.
Hi Jonathan,
Thanks for your feedback. I'll have another patch set ready for you
by next weekend with my next round of cleanups to that driver. I'll
change this so that it calculates the mean on the fly unless I hear
otherwise from you.
Brian
Powered by blists - more mailing lists