]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
usb: dwc3: add a bounce buffer for control endpoints
authorFelipe Balbi <balbi@ti.com>
Sat, 27 Aug 2011 19:07:53 +0000 (22:07 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:02:04 +0000 (13:02 +0300)
commit5812b1c236774ea580b6af39411eb4f7297d7623
treef25e68599057b95f7f0302922a17566b1e67e303
parentdc137f01aca23ceb196945130a960e2a01b95890
usb: dwc3: add a bounce buffer for control endpoints

This core cannot handle OUT transfers which aren't
aligned to wMaxPacketSize, but that can happen at
least on control endpoint with the USB Audio Class.

This patch adds a bounce buffer to be used on the
case of a non-aligned ep0out request is queued.

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