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

Quan Nguyen quan at os.amperecomputing.com
Sun Oct 2 19:06:46 PDT 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-arm-kernel mailing list