summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2011-05-02 11:56:27 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-03 10:25:24 -0700
commitef90748216d80f4afc95657925873a6fc3d3d6e2 (patch)
tree3bbe37aaf125edaa7e9d4683a278db4f92c68fe9 /drivers/usb/gadget
parent2887ba9e3e478522a4a3f1f64506fe1e8b0c740c (diff)
downloadblackbird-obmc-linux-ef90748216d80f4afc95657925873a6fc3d3d6e2.tar.gz
blackbird-obmc-linux-ef90748216d80f4afc95657925873a6fc3d3d6e2.zip
USB: gadget: Fix typo (s/EBUSY/-EBUSY) in ci13xxx_udc
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-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)
}
}
- if (retval == EBUSY)
+ if (retval == -EBUSY)
retval = 0;
if (retval < 0)
dbg_event(_usb_addr(mEp), "DONE", retval);
OpenPOWER on IntegriCloud