]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: ep0: improve handling of unaligned OUT requests
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 7 Apr 2017 11:09:13 +0000 (14:09 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:28 +0000 (10:58 +0300)
commit4199c5f8bccd7ff6923c32af0f8ef0224eeaa651
treeece60264534a7fe2d384e42b05ba949fb2e309c4
parentd686a5ff6a2dd94cbe66b8cc71912c9324894c24
usb: dwc3: ep0: improve handling of unaligned OUT requests

Just like we did for all other endpoint types, let's rely on a chained
TRB pointing to ep0_bounce_addr in order to align transfer size. This
will make the code simpler.

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