usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 1 Aug 2018 06:37:34 +0000 (09:37 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 14 Nov 2018 10:43:52 +0000 (12:43 +0200)
commit2fc6d4be35fb1e262f209758e25bfe2b7a113a7f
tree7335175898a27689b9ac6944a94b012a43bfb776
parenta9c859033f6ec772f8e3228c343bb1321584ae0e
usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers

When chaining ISOC TRBs together, only the first ISOC TRB should be of
type ISOC_FIRST, all others should be of type ISOC. This patch fixes
that.

Fixes: c6267a51639b ("usb: dwc3: gadget: align transfers to wMaxPacketSize")
Cc: <stable@vger.kernel.org> # v4.11+
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c