diff options
author | Felipe Balbi <balbi@ti.com> | 2011-12-19 13:32:34 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-02-28 16:48:54 +0400 |
commit | 0fc9a1be09d9f8b19bcf64ab96836cb92beb0970 (patch) | |
tree | 0aa8fa3ad9f5341356ba82b4ab7765077df5055e /drivers/usb/gadget/langwell_udc.c | |
parent | a698908d3b3be915ac20cd37faeff1216f6b4fe8 (diff) | |
download | linux-0fc9a1be09d9f8b19bcf64ab96836cb92beb0970.tar.xz |
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>
Diffstat (limited to 'drivers/usb/gadget/langwell_udc.c')
0 files changed, 0 insertions, 0 deletions