USB: gadget: Fix typo (s/EBUSY/-EBUSY) in ci13xxx_udc
authorPavankumar Kondeti <pkondeti@codeaurora.org>
Mon, 2 May 2011 06:26:27 +0000 (11:56 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 17:25:24 +0000 (10:25 -0700)
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ci13xxx_udc.c

index e09178b..348d8a0 100644 (file)
@@ -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);