usb: dwc3: gadget: align transfers to wMaxPacketSize
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 5 Jan 2017 12:58:46 +0000 (14:58 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:13 +0000 (11:04 +0200)
commitc6267a51639b0a8e76cc6d4b0d88c07d29b4b2bf
treeb661492cdfffd50db174759ebd397161d0fd5539
parent905dc04ea796e77e003c5020a3f9f1509cc7a275
usb: dwc3: gadget: align transfers to wMaxPacketSize

Instead of passing quirk_ep_out_aligned_size, we can use one extra TRB
to align transfer to wMaxPacketSize.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c