Commit d3ba9a9d authored by Felipe Balbi's avatar Felipe Balbi Committed by Ido Shayevitz
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarIdo Shayevitz <idos@codeaurora.org>
parent d195b32c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment