mbox series

[v3,0/3] Add atomic transfers to s3c24xx i2c driver

Message ID 20231031144252.2112593-1-m.szyprowski@samsung.com (mailing list archive)
Headers show
Series Add atomic transfers to s3c24xx i2c driver | expand

Message

Marek Szyprowski Oct. 31, 2023, 2:42 p.m. UTC
Dear All,

This patchset adds support for atomic transfers, which has been added to
the i2c core recently by the commit 63b96983a5dd ("i2c: core: introduce
callbacks for atomic transfers") to hide warnings observed during system
reboot and power-off. Almost everything needed for that was already in
the driver as so called polling mode. Unfortunately, that polling mode
has been tested only with single message, write transfers so far and it
turned out that it doesn't work well with read and multi-message
transfers, so first it had to be fixed.

Best regards,
Marek Szyprowski


Changelog:
v3:
- fixed style issue pointed by Andi, extended commit message

v2:
- updated and extended commit messages


Patch summary:

Marek Szyprowski (3):
  i2c: s3c24xx: fix read transfers in polled mode
  i2c: s3c24xx: fix transferring more than one message in polled mode
  i2c: s3c24xx: add support for atomic transfers

 drivers/i2c/busses/i2c-s3c2410.c | 57 ++++++++++++++++++++------------
 1 file changed, 36 insertions(+), 21 deletions(-)