From: Bin Liu Date: Tue, 12 Aug 2014 19:18:43 +0000 (-0500) Subject: usb: musb: cppi41: fix not transmitting zero length packet issue X-Git-Tag: fixes-for-v3.18-merge-window~137^2~23^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9267edaf8cd7b0ef2cd7785c677fe792c077b6ab;p=pandora-kernel.git usb: musb: cppi41: fix not transmitting zero length packet issue 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 in MUSB host mode. # testusb -t1 -c1 Signed-off-by: Bin Liu Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed