[PATCH 0/3] treewide: remove open coded SMBus block transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux