projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b4a3b5
)
fotg210-udc: remove a bogus dma_sync_single_for_device call
author
Christoph Hellwig
<hch@lst.de>
Fri, 1 Feb 2019 08:47:55 +0000
(09:47 +0100)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Mon, 11 Feb 2019 13:30:14 +0000
(15:30 +0200)
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>
drivers/usb/gadget/udc/fotg210-udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/fotg210-udc.c
b/drivers/usb/gadget/udc/fotg210-udc.c
index
bc6abae
..
fe9cf41
100644
(file)
--- a/
drivers/usb/gadget/udc/fotg210-udc.c
+++ b/
drivers/usb/gadget/udc/fotg210-udc.c
@@
-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 */