From: "Maxwell Doose" <maxwell@maxwelld.cc>
To: "Andi Shyti" <andi.shyti@kernel.org>, <linux-i2c@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Question regarding i2c_master_send()/_recv()
Date: Thu, 16 Jul 2026 10:42:02 -0500 [thread overview]
Message-ID: <DK03YZ54GKNM.3L8H1WZEWOLTP@maxwelld.cc> (raw)
In-Reply-To:
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
Hi all,
Currently in iio there is a large series removing the length checks
against i2c_master_send() and _recv() calls, stating that they will not
do partial writes. Since the documentation wasn't clear on this, is it
possible for i2c_master_send() and _recv() to do partial reads/writes?
--
best regards,
max
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]
reply other threads:[~2026-07-16 15:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=DK03YZ54GKNM.3L8H1WZEWOLTP@maxwelld.cc \
--to=maxwell@maxwelld.cc \
--cc=andi.shyti@kernel.org \
--cc=linux-i2c@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