summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/usb-drv-arc.c2
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");
}