mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
	Dan Carpenter <dan.carpenter@linaro.org>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: light: apds9306: Fix input arguments to in_range()
Date: Sun, 28 Apr 2024 21:36:17 +0930	[thread overview]
Message-ID: <6d401f1b-bc3f-4064-adc1-a22d9a65c778@tweaklogic.com> (raw)
In-Reply-To: <20240428124745.2cb0e2a2@jic23-huawei>

On 28/4/24 21:17, Jonathan Cameron wrote:
> On Sat, 27 Apr 2024 18:39:14 +0930
> Subhajit Ghosh <subhajit.ghosh@tweaklogic.com> wrote:
> 
>> Third input argument to in_range() function requires the number of
>> values in range, not the last value in that range. Update macro for
>> persistence and adaptive threshold to reflect number of values
>> supported instead of the maximum values supported.
>>
>> Fixes: 620d1e6c7a3f ("iio: light: Add support for APDS9306 Light Sensor")
>> Signed-off-by: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
> Applied to the togreg branch of iio.git. Pushed out initially as testing
> for 0-day to take a first look.
> 
> Thanks,
> 
> Jonathan
> 
Thank you Jonathan.

Regards,
Subhajit Ghosh


      reply	other threads:[~2024-04-28 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-27  9:09 Subhajit Ghosh
2024-04-28 11:47 ` Jonathan Cameron
2024-04-28 12:06   ` Subhajit Ghosh [this message]

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=6d401f1b-bc3f-4064-adc1-a22d9a65c778@tweaklogic.com \
    --to=subhajit.ghosh@tweaklogic.com \
    --cc=dan.carpenter@linaro.org \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®