From: Jonathan Cameron <jic23@kernel.org>
To: Rhyland Klein <rklein@nvidia.com>,
Roberta Dobrescu <roberta.dobrescu@gmail.com>,
linux-iio@vger.kernel.org
Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
daniel.baluta@intel.com
Subject: Re: [PATCH v2 3/3] staging: iio: light: isl29018: Use standard sysfs attributes for scale and integration time
Date: Sat, 02 May 2015 12:02:45 +0100 [thread overview]
Message-ID: <5544AED5.1080903@kernel.org> (raw)
In-Reply-To: <553E5DEE.5020001@nvidia.com>
On 27/04/15 17:03, Rhyland Klein wrote:
> On 4/26/2015 3:51 PM, Jonathan Cameron wrote:
>> On 16/04/15 20:20, Roberta Dobrescu wrote:
>>> This patch refactors the isl29018 driver code in order to use standard
>>> sysfs attributes for scale and integration time.
>>>
>>> ISL29018 light sensor uses four ranges and four ADC's resolutions
>>> which influence the calculated lux. Adc resolution is strongly
>>> connected to integration time and range should be controlled by scale.
>>>
>>> This patch introduces the usage of integration time and scale instead
>>> of adc resolution and range.
>>>
>>> Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
>> Looks good to me, Applied to the togreg branch of iio.git - initially pushed out
>> as testing.
>>
>> cc'd Rhyland though not heard from him for quite a while.
>>
>> Rhyland, if you are still interested in this driver, give me a shout and I can
>> hold these patches back until you get a chance to look at them.
>>
>> Sorry, forgot to cc you earlier in the discussion!
>>
>> Jonathan
>>
>
> Its fine, don't hold up patches on my account. I haven't looked at this
> in a while, so don't gate on me :)
>
> -rhyland
I missed a small issue with some missing brackets in one of the switch statements.
The autobuilder caught it as a formatting issue:
drivers/staging/iio/light/isl29018.c:373:3-4: code aligned with following code on line 377.
I'll send out a patch in a mo, but as it's trivial am happy to apply it without an ack.
note this isn't actually a bug due to the check being strictly unnecessary anyway, but
it is clearly not as intended!
Jonathan
>
>
next prev parent reply other threads:[~2015-05-02 11:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-16 19:20 [PATCH v2 0/3] staging: iio: light: isl29018: Remove non-standard sysfs attributes Roberta Dobrescu
2015-04-16 19:20 ` [PATCH v2 1/3] " Roberta Dobrescu
2015-04-26 19:46 ` Jonathan Cameron
2015-04-16 19:20 ` [PATCH v2 2/3] staging: iio: light: isl29018: Rename lux_scale to calibscale Roberta Dobrescu
2015-04-26 19:46 ` Jonathan Cameron
2015-04-16 19:20 ` [PATCH v2 3/3] staging: iio: light: isl29018: Use standard sysfs attributes for scale and integration time Roberta Dobrescu
2015-04-26 19:51 ` Jonathan Cameron
2015-04-27 16:03 ` Rhyland Klein
2015-05-02 11:02 ` Jonathan Cameron [this message]
2015-05-02 15:55 ` Roberta Dobrescu
2015-06-27 9:34 ` Hartmut Knaack
2015-06-29 7:24 ` Daniel Baluta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5544AED5.1080903@kernel.org \
--to=jic23@kernel.org \
--cc=daniel.baluta@intel.com \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=rklein@nvidia.com \
--cc=roberta.dobrescu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox