Am Montag, 31. Dezember 2007 schrieb David Brownell: > @@ -1574,16 +1569,20 @@ itd_complete ( > struct usb_iso_packet_descriptor *desc; > u32 t; > unsigned uframe; > - int urb_index = -1; > + unsigned urb_index = itd->index; > struct ehci_iso_stream *stream = itd->stream; > struct usb_device *dev; > > + /* Caller guarantees this ITD is inactive. We always > + * report something for each transfer it defines. > + */ > + desc = &urb->iso_frame_desc[urb_index]; > + > /* for each uframe with a packet */ > for (uframe = 0; uframe < 8; uframe++) { > - if (likely (itd->index[uframe] == -1)) > + t = hc32_to_cpup(ehci, &itd->hw_bufp[uframe]);
NACK, struct ehci_itd has hw_bufp[7], not 8. - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html