]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: drop the useless dma_sync_single* calls
authorFelipe Balbi <balbi@ti.com>
Thu, 8 Sep 2011 15:16:21 +0000 (18:16 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:05:26 +0000 (13:05 +0300)
commit1c62bc3053816508ce76872389cc0f322f5165b4
tree16e8eab49bf4c834c587b40f7bfbef5986e2f021
parent68931543213d26dd66d07eb9ab4c54a9e93d2a32
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>
drivers/usb/dwc3/gadget.c