usb: dwc3: gadget: don't send extra ZLP
authorJohn Youn <John.Youn@synopsys.com>
Tue, 22 Dec 2015 20:23:20 +0000 (12:23 -0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 23 Dec 2015 03:58:26 +0000 (21:58 -0600)
commitd9261898a4b2c143c28568dc686a1becfc637a99
tree36926864944efeff0392a0005a452c7336579f69
parent746bfe63bba37ad55956b7377c9af494e7e28929
usb: dwc3: gadget: don't send extra ZLP

If the request->length is zero, a ZLP should already be sent due to that
and another ZLP is not needed to terminate the transfer.

Fixes: 04c03d10e507 ("usb: dwc3: gadget: handle request->zero")
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c
This page took 0.025634 seconds and 5 git commands to generate.