]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: dwc3: Add chained TRB support for ep0
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Feb 2015 13:10:15 +0000 (18:40 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:11 +0000 (21:47 +0200)
commitbf8e3a2e0c0e5df7999a3157711705d99526f9ac
treee3a161b4c7a55cbebd56a47ba011b5d18e1d654f
parent766975628d2be276fbe54a55218fce81165b7acb
usb: dwc3: Add chained TRB support for ep0

dwc3 can do only max packet aligned transfers. So in case request length
is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE
two chained TRBs is required to handle the transfer.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c