Skip to content

Commit

Permalink
USB: gadget: Fix typo (s/EBUSY/-EBUSY) in ci13xxx_udc
Browse files Browse the repository at this point in the history
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Pavankumar Kondeti authored and Greg Kroah-Hartman committed May 3, 2011
1 parent 2887ba9 commit ef90748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/ci13xxx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ef90748

Please sign in to comment.