Re: [PATCH v7 3/3] i2c: aspeed: Assert NAK when slave is busy

From: Wolfram Sang
Date: Sat May 14 2022 - 10:31:39 EST


On Fri, Apr 22, 2022 at 11:08:03AM +0700, Quan Nguyen wrote:
> When processing I2C_SLAVE_WRITE_REQUESTED event, if slave returns
> -EBUSY, i2c controller should issue RxCmdLast command to assert NAK
> on the bus.

That should be I2C_SLAVE_WRITE_RECEIVED and it should be NAKed on all
errnos. Have you tested it?

Attachment: signature.asc
Description: PGP signature