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

> + if (ret == -EBUSY)

Since we documented this:

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

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

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-10-02 00:56    [W:0.081 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site