usb: dwc3: gadget: don't force 'LST' always
authorFelipe Balbi <balbi@ti.com>
Mon, 28 Nov 2011 10:27:17 +0000 (12:27 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 21 Dec 2011 11:24:46 +0000 (13:24 +0200)
commit42f8eb7a1087442e9710ce75b355c0f28aadbf96
tree07280177242cfb046d4903709643c73b8df006e1
parent68e823e24aea5227eaf20d6435485e733109d113
usb: dwc3: gadget: don't force 'LST' always

the LST bit is to be set on the last of a series
of consecutive TRBs. We had a workaround for a
problem where data would get corrupted but that
doesn't happen anymore. It's likely that it was
caused by some FPGA instability during development
phase.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c