Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175002
b: refs/heads/master
c: 8b4959d
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent d763e1e commit 663e8d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b6c3b0fb242309bc77092be4a283513be115735
refs/heads/master: 8b4959d6a53b783b9f1cf1d5d9ed9f2c36440892
10 changes: 5 additions & 5 deletions trunk/drivers/usb/musb/musb_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -1642,18 +1642,18 @@ void musb_host_rx(struct musb *musb, u8 epnum)
c = musb->dma_controller;

if (usb_pipeisoc(pipe)) {
int status = 0;
int d_status = 0;
struct usb_iso_packet_descriptor *d;

d = urb->iso_frame_desc + qh->iso_idx;

if (iso_err) {
status = -EILSEQ;
d_status = -EILSEQ;
urb->error_count++;
}
if (rx_count > d->length) {
if (status == 0) {
status = -EOVERFLOW;
if (d_status == 0) {
d_status = -EOVERFLOW;
urb->error_count++;
}
DBG(2, "** OVERFLOW %d into %d\n",\
Expand All @@ -1662,7 +1662,7 @@ void musb_host_rx(struct musb *musb, u8 epnum)
length = d->length;
} else
length = rx_count;
d->status = status;
d->status = d_status;
buf = urb->transfer_dma + d->offset;
} else {
length = rx_count;
Expand Down

0 comments on commit 663e8d2

Please sign in to comment.