diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-06-05 15:49:35 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-06-05 15:49:35 +0000 |
commit | 6d9f55effff74c196402aa1a06cb1b01b4630743 (patch) | |
tree | 58c0d6f6c39a48b43ec383d2073264fc4b597dd8 /firmware/target | |
parent | c2416bf8b90bf4fca3b90ac3d2241c05904bc13b (diff) |
corrected sign of error return value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17693 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/usb-drv-arc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/usb-drv-arc.c b/firmware/target/arm/usb-drv-arc.c index 31a6acb71b..e32352165a 100644 --- a/firmware/target/arm/usb-drv-arc.c +++ b/firmware/target/arm/usb-drv-arc.c @@ -714,7 +714,7 @@ static int prime_transfer(int endpoint, void* ptr, int len, bool send, bool wait if(qh->status!=0) { /* No need to cancel wait here since it was done and the signal * came. */ - return 5; + return -5; } //logf("all tds done"); } |