projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d0f66
)
usb: musb: host: compare status for negative error values
author
Márton Németh
<nm127@freemail.hu>
Mon, 30 May 2011 18:45:42 +0000
(20:45 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 9 Jun 2011 09:01:03 +0000
(12:01 +0300)
Variable d is a struct usb_iso_packet_descriptor. The status filed is usually
negative when an error happens.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_host.c
b/drivers/usb/musb/musb_host.c
index 7295e316bdfcf82e2af402118ce93e5af2dec465..8b2473fa0f47387c9647944d6e45b362539a8ab5 100644
(file)
--- a/
drivers/usb/musb/musb_host.c
+++ b/
drivers/usb/musb/musb_host.c
@@
-1575,7
+1575,7
@@
void musb_host_rx(struct musb *musb, u8 epnum)
/* even if there was an error, we did the dma
* for iso_frame_desc->length
*/
- if (d->status != EILSEQ && d->status != -EOVERFLOW)
+ if (d->status !=
-
EILSEQ && d->status != -EOVERFLOW)
d->status = 0;
if (++qh->iso_idx >= urb->number_of_packets)
This page took
0.026016 seconds
and
5
git commands to generate.