]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 e09178bc1450a54b46a9a12ab68abd6a96ba2b2d..348d8a0e3454e8dfbea3f2bf4c133e8ed6428e17 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);