RE: [PATCH] usb: xhci: Less verbose tracing of short receives

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

 



> Subject: Re: [PATCH] usb: xhci: Less verbose tracing of short receives
> 
> On Thu, 31 Oct 2013, David Laight wrote:
> 
> > Only receive TD can have a transfer length less than the transfer size,
> 
> Without commenting on the patch itself, let me point out that this
> statement is wrong.  An OUT transfer can terminate early for several
> reasons.  They are all error conditions, however, whereas an IN
> transfer can terminate early without any error.

That is a bit of a nit-pick.
The TRB completion code of 'Short packet' (13) only applies to
IN transfers, if all the data of a OUT transfer isn't sent then a
different error code is returned.

	David



--
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