[PATCH v3] i2c: imx: when being a target, mark the last read as processed

Wolfram Sang wsa+renesas at sang-engineering.com
Thu Feb 22 00:05:15 PST 2024


On Thu, Feb 22, 2024 at 08:56:00AM +0100, Oleksij Rempel wrote:

> > > > When being a target, NAK from the controller means that all bytes have
> > > > been transferred. So, the last byte needs also to be marked as
> > > > 'processed'. Otherwise index registers of backends may not increase.
> > > > 
> > > > Signed-off-by: Corey Minyard <minyard at acm.org>
> > > > Tested-by: Andrew Manley <andrew.manley at sealingtech.com>
> > > > Reviewed-by: Andrew Manley <andrew.manley at sealingtech.com>
> > > > Reviewed-by: Oleksij Rempel <o.rempel at pengutronix.de>
> > > > [wsa: fixed comment and commit message to properly describe the case]
> > > > Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
> > > 
> > > is this a fix?
> > 
> > In deed, it is:
> > 
> > Fixes: f7414cd6923f ("i2c: imx: support slave mode for imx I2C driver")
> 
> Looks good :)
> Are any action needed on my side?

Nope. All tags are still valid, I'd say, because I didn't change any code.

Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240222/579af568/attachment.sig>


More information about the linux-arm-kernel mailing list