From: Felipe Balbi Date: Mon, 19 Dec 2011 09:32:34 +0000 (+0200) Subject: usb: dwc3: gadget: use generic map/unmap routines X-Git-Tag: v3.4-rc1~184^2~22^2~39^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fc9a1be09d9f8b19bcf64ab96836cb92beb0970;p=pandora-kernel.git 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 --- Reading git-diff-tree failed