summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lenovo.c
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2014-08-12 21:18:43 +0200
committerFelipe Balbi <balbi@ti.com>2014-09-03 16:15:56 +0200
commit9267edaf8cd7b0ef2cd7785c677fe792c077b6ab (patch)
treeaf2a1a8b232c7e7a3c5ade8aba73c5b96374d0a8 /drivers/hid/hid-lenovo.c
parentLinux 3.17-rc3 (diff)
downloadlinux-9267edaf8cd7b0ef2cd7785c677fe792c077b6ab.tar.xz
linux-9267edaf8cd7b0ef2cd7785c677fe792c077b6ab.zip
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 <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/hid/hid-lenovo.c')
0 files changed, 0 insertions, 0 deletions