From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: linux-i2c@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
openipmi-developer@lists.sourceforge.net
Subject: [PATCH 0/3] treewide: remove open coded SMBus block transfers
Date: Tue, 19 Jan 2021 10:39:07 +0100 [thread overview]
Message-ID: <20210119093912.1838-1-wsa+renesas@sang-engineering.com> (raw)
The bigger picture is that I want to extend the maximum block length for
SMBus block transfers from 32 (SMBus2) to 255 (SMBus3). That needs some
cleanups and refactoring first. To make that easier, it would be helpful
if all in-kernel users would call the helper functions of the I2C core
for SMBus block transfers and not open code it via the generic
smbus_xfer.
This series converts the three users doing that. I don't have the
hardware, so these patches are only build tested. Please let me know
what you think.
Changes since RFC:
* addressed review comments, see individual patches
Wolfram Sang (3):
media: i2c: adv7842: remove open coded version of SMBus block write
media: i2c: adv7511: remove open coded version of SMBus block read
ipmi: remove open coded version of SMBus block write
drivers/char/ipmi/ipmb_dev_int.c | 24 +++++++++----------
drivers/media/i2c/adv7511-v4l2.c | 41 ++++++++++++--------------------
drivers/media/i2c/adv7842.c | 24 ++++---------------
3 files changed, 32 insertions(+), 57 deletions(-)
--
2.29.2
next reply other threads:[~2021-01-19 10:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 9:39 Wolfram Sang [this message]
2021-01-19 9:39 ` [PATCH 1/3] media: i2c: adv7842: remove open coded version of SMBus block write Wolfram Sang
2021-01-25 9:56 ` Hans Verkuil
2021-01-19 9:39 ` [PATCH 2/3] media: i2c: adv7511: remove open coded version of SMBus block read Wolfram Sang
2021-01-25 10:05 ` Hans Verkuil
2021-01-27 10:18 ` Wolfram Sang
2021-01-19 9:39 ` [PATCH 3/3] ipmi: remove open coded version of SMBus block write Wolfram Sang
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=20210119093912.1838-1-wsa+renesas@sang-engineering.com \
--to=wsa+renesas@sang-engineering.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=openipmi-developer@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.