lkml.org 
[lkml]   [2022]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v9 3/3] i2c: aspeed: Assert NAK when slave is busy
From


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

\
 
 \ /
  Last update: 2022-10-03 04:07    [W:0.142 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site