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

Quan Nguyen quan at os.amperecomputing.com
Mon Oct 3 13:06:46 AEDT 2022



On 02/10/2022 05:55, Wolfram Sang wrote:
> 
>> +		if (ret == -EBUSY)
> 
> Since we documented this:
> 
> "+  'ret': 0 if the backend is ready, otherwise some errno"
> 
> the code above should be '(ret < 0)'
> 

Will update.
Thanks a lot for the review.

- Quan


More information about the Linux-aspeed mailing list