diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-05-10 17:36:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-05-11 08:45:23 +0200 |
commit | 747146a3eb186fb7101f1aaab53d9188dc41bfbb (patch) | |
tree | 4bdc9fa69cccde2db312a992b42df93e8f27b667 /drivers/ata | |
parent | bba338c7ef7dddb184aa7429f7441e097bc16409 (diff) | |
download | barebox-747146a3eb186fb7101f1aaab53d9188dc41bfbb.tar.gz barebox-747146a3eb186fb7101f1aaab53d9188dc41bfbb.tar.xz |
i2c: rockchip: fix transfer return value
barebox (and kernel) API is for i2c_adapter::master_xfer to return the
number of successfully transmitted messages and a negative value on
error. This was not observed in the Rockchip driver, fix this.
Reported-by: Matthias Fend <matthias.fend@emfend.at>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220510153657.2033190-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions