[PATCH v9 3/3] i2c: aspeed: Assert NAK when slave is busy
Wolfram Sang
wsa at kernel.org
Sun Oct 2 09:55:02 AEDT 2022
> + if (ret == -EBUSY)
Since we documented this:
"+ 'ret': 0 if the backend is ready, otherwise some errno"
the code above should be '(ret < 0)'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20221002/06692e4b/attachment.sig>
More information about the Linux-aspeed
mailing list