aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/ci13xxx_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c
index e09178bc1450..348d8a0e3454 100644
--- a/drivers/usb/gadget/ci13xxx_udc.c
+++ b/drivers/usb/gadget/ci13xxx_udc.c
@@ -1864,7 +1864,7 @@ __acquires(mEp->lock)
1864 } 1864 }
1865 } 1865 }
1866 1866
1867 if (retval == EBUSY) 1867 if (retval == -EBUSY)
1868 retval = 0; 1868 retval = 0;
1869 if (retval < 0) 1869 if (retval < 0)
1870 dbg_event(_usb_addr(mEp), "DONE", retval); 1870 dbg_event(_usb_addr(mEp), "DONE", retval);