Re: [PATCH 5/8] EHCI: report actual_length for iso transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 29 June 2009, Alan Stern wrote:
> -                               desc->actual_length = EHCI_ITD_LENGTH (t);
> +                               urb->actual_length += desc->actual_length =
> +                                               EHCI_ITD_LENGTH(t);

For all these it would be better to see the first line remain,
and just add "urb->actual_length += desc_actual_length" instead
of combining the two statements.

Or for ITDs, just do that once at the end of the itd/sitd
loops.




--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux