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

From: Wolfram Sang
Date: Sat Oct 01 2022 - 18:55:16 EST



> + if (ret == -EBUSY)

Since we documented this:

"+ 'ret': 0 if the backend is ready, otherwise some errno"

the code above should be '(ret < 0)'

Attachment: signature.asc
Description: PGP signature