Commit 39259ac
pibridge-serdev: change semantic of pibridge_req_io()
In function pibridge_req_io() do not return 0 in case of success but
instead return the number of received bytes.
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>1 parent 9b89ca2 commit 39259ac
1 file changed
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
| 503 | + | |
511 | 504 | | |
512 | 505 | | |
513 | 506 | | |
| |||
0 commit comments