Re: [PATCH] docs: i2c: slave-interface: return errno when handle I2C_SLAVE_WRITE_REQUESTED

From: Quan Nguyen
Date: Thu Sep 29 2022 - 04:07:41 EST


Thank you, Wolfram, for the review and the wording fixes :-)
- Quan

On 29/09/2022 02:41, Wolfram Sang wrote:
On Thu, Sep 15, 2022 at 10:54:40AM +0700, Quan Nguyen wrote:
In case backend is not ready, ie: fail to wakeup or initialization, on
the returning of the I2C_SLAVE_WRITE_REQUESTED event, bus driver should
aware the backend status and might auto sending NACK on the next
incoming bytes for I2C master to retry.

Signed-off-by: Quan Nguyen <quan@xxxxxxxxxxxxxxxxxxxxxx>
Links:https://lore.kernel.org/linux-arm-kernel/556fa9e1-c54b-8370-4de7-c2d3ec7d6906@xxxxxxxxxxxxxxxxxxxxxx/

Sorry for the delay. I made some wording more precise and applied it to
for-next. So, we can use it right for next merge window, if needed.

Thank you for suggesting this and for your patience!