mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Lechner <dlechner@baylibre.com>
To: "Jonathan Cameron" <jic23@kernel.org>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>
Cc: Chris Hall <c-hall@ti.com>, Patrick Edwards <pedwards@ti.com>,
	Kurt Borja <kuurtb@gmail.com>,
	Nguyen Minh Tien <zizuzacker@gmail.com>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] iio: adc: ti-ads112c14: add support for buffered read
Date: Fri, 24 Jul 2026 13:34:42 -0500	[thread overview]
Message-ID: <4cd1c123-acd2-48a5-b2df-8e7a247f25df@baylibre.com> (raw)
In-Reply-To: <20260724-iio-adc-ti-ads112c14-buffered-read-v2-2-98b06f3d47d9@baylibre.com>

On 7/24/26 10:55 AM, David Lechner (TI) wrote:
> Add support for buffered reads using a triggered buffer.
> 

...

>  	data->num_measurements = i;
> +	if (data->num_measurements >= ADS112C14_MAX_MEASUREMENT_CHANNELS)

Sashiko caught that this should be >, not >=.

> +		return dev_err_probe(dev, -EINVAL,
> +				     "too many measurement channels defined\n");
> +

  reply	other threads:[~2026-07-24 18:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24 15:55 [PATCH v2 0/2] iio: adc: ti-ads112c14: buffered read support David Lechner (TI)
2026-07-24 15:55 ` [PATCH v2 1/2] iio: adc: ti-ads112c14: add support for I2C CRC8 David Lechner (TI)
2026-07-24 18:33   ` David Lechner
2026-07-27  1:03   ` Jonathan Cameron
2026-07-24 15:55 ` [PATCH v2 2/2] iio: adc: ti-ads112c14: add support for buffered read David Lechner (TI)
2026-07-24 18:34   ` David Lechner [this message]
2026-07-27  1:09   ` Jonathan Cameron

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=4cd1c123-acd2-48a5-b2df-8e7a247f25df@baylibre.com \
    --to=dlechner@baylibre.com \
    --cc=andy@kernel.org \
    --cc=c-hall@ti.com \
    --cc=jic23@kernel.org \
    --cc=kuurtb@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=pedwards@ti.com \
    --cc=zizuzacker@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

all inboxes | Powered by JetHome®