projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cce2ed
)
USB: musb_host: undo incorrect change in musb_advance_schedule()
author
Sergei Shtylyov
<
[email protected]
>
Fri, 10 Jul 2009 17:02:44 +0000
(20:02 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sun, 12 Jul 2009 22:16:40 +0000
(15:16 -0700)
Commit
c9cd06b3d6ea825c62e277def929cc4315802b48
(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 <
[email protected]
>
Acked-by: David Brownell <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/musb/musb_host.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_host.c
b/drivers/usb/musb/musb_host.c
index d6ed560e882632f75a32a77639e6f6dc2d1e85b3..cf94511485f258a07d60186d43e3687fcf959a87 100644
(file)
--- a/
drivers/usb/musb/musb_host.c
+++ b/
drivers/usb/musb/musb_host.c
@@
-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;
}