Re: [PATCH] usb: musb: cppi41: fix not transmitting zero length packet issue

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

 



On Tue, Aug 12, 2014 at 11:46:32AM -0500, Bin Liu wrote:
> CPPI TX does not transmit ZLP for TX transfers which
> - transfer size is multiple of EP packet size,
> - and URB_ZERO_PACKET is set in urb->transfer_flags.
> 
> The fix is transmitting the ZLP using PIO mode after the CPPI TX is
> done.
> 
> Validated using the following usbtest write case for MUSB host mode.
> 
>   # testusb -t1 -c1

is it still stable if you using -c 50000 ? Patch looks ok, but I'd like
to make sure there are no races there while at it.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux