Skip to content

Commit

Permalink
USB: musb_host: undo incorrect change in musb_advance_schedule()
Browse files Browse the repository at this point in the history
Commit c9cd06b (musb_host: refactor
URB giveback) included due to my overlook the change incorrect in the
context of the current kernel -- undo it.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Sergei Shtylyov authored and Greg Kroah-Hartman committed Jul 12, 2009
1 parent 0cce2ed commit 1fe975f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/musb/musb_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static void musb_advance_schedule(struct musb *musb, struct urb *urb,
musb_save_toggle(qh, is_in, urb);
break;
case USB_ENDPOINT_XFER_ISOC:
if (urb->error_count)
if (status == 0 && urb->error_count)
status = -EXDEV;
break;
}
Expand Down

0 comments on commit 1fe975f

Please sign in to comment.