]> 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)
commit95c2b9ae52f6769d2a73b5e0faa1a06009e7ede3
tree16e8eab49bf4c834c587b40f7bfbef5986e2f021
parent5e8e55ffc6b026ff22434804311ae227aaff73c5
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