]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e5108bda349e54562fbce056b3015f0f0e162c0
tree7335175898a27689b9ac6944a94b012a43bfb776
parentcc48289f9e077bcf6bc5711125b0400e3a58bce1
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: a1ad06a85a6f ("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