commit | 7d24c1b5a77c71d885fca047d1f25721f6b366e7 | [log] [tgz] |
---|---|---|
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | Fri Jan 30 09:09:31 2015 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Fri Jan 30 10:31:13 2015 -0600 |
tree | d795985ed06c67578f3df6971f0785d84149a1ab | |
parent | d7c747c590a98d2d75e4c2c97c875f0dcd5743ee [diff] |
usb: dwc2: gadget: add unaligned buffers support When using DMA, dwc2 requires buffers to be 4 bytes aligned. Use bounce buffers if they are not. Tested-by: Robert Baldyga <r.baldyga@samsung.com> Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>