usb: dwc3: gadget: drop the useless dma_sync_single* calls
if req->dma isn't DMA_ADDR_INVALID it means gadget driver mapped the request or allocated from coherent, so it's unnecessary to do anything. Signed-off-by:Felipe Balbi <balbi@ti.com> Signed-off-by:
Ido Shayevitz <idos@codeaurora.org>
Loading
Please sign in to comment