commit | bb7ea2841e9c8669ac31e4262f585729bf779bff | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Thu Sep 08 18:16:21 2011 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Fri Sep 09 13:05:26 2011 +0300 |
tree | 16e8eab49bf4c834c587b40f7bfbef5986e2f021 | |
parent | 771f184ecebf34929a849eaa707aa463234254f7 [diff] |
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>