mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
fotg210-udc: remove a bogus dma_sync_single_for_device call
dma_map_single already transfers ownership to the device. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
parent
1b4a3b5171
commit
8c7ffa5ebd
1 changed files with 0 additions and 4 deletions
|
|
@ -356,10 +356,6 @@ static void fotg210_start_dma(struct fotg210_ep *ep,
|
|||
return;
|
||||
}
|
||||
|
||||
dma_sync_single_for_device(NULL, d, length,
|
||||
ep->dir_in ? DMA_TO_DEVICE :
|
||||
DMA_FROM_DEVICE);
|
||||
|
||||
fotg210_enable_dma(ep, d, length);
|
||||
|
||||
/* check if dma is done */
|
||||
|
|
|
|||
Loading…
Reference in a new issue