commit | 0fc9a1be09d9f8b19bcf64ab96836cb92beb0970 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Dec 19 11:32:34 2011 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Tue Feb 28 14:48:54 2012 +0200 |
tree | 0aa8fa3ad9f5341356ba82b4ab7765077df5055e | |
parent | a698908d3b3be915ac20cd37faeff1216f6b4fe8 [diff] |
usb: dwc3: gadget: use generic map/unmap routines those routines have everything we need to map/unmap USB requests and it's better to use them. In order to achieve that, we had to add a simple change on how we allocate and use our setup buffer; we cannot allocate it from coherent anymore otherwise the generic map/unmap routines won't be able to easily know that the GetStatus request already has a DMA address. Signed-off-by: Felipe Balbi <balbi@ti.com>