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

Wolfram Sang
2022-10-01T22:55:12Z

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

> + 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]