Browse Source

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>
Pavankumar Kondeti 14 years ago
parent
commit
ef90748216
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/gadget/ci13xxx_udc.c

+ 1 - 1
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);