projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dmaengine: consolidate initialization of cookies
[deliverable/linux.git]
/
drivers
/
dma
/
ste_dma40.c
diff --git
a/drivers/dma/ste_dma40.c
b/drivers/dma/ste_dma40.c
index 07b82e367ffdfa261e6493f5db11217d5cc695dc..1ea6d02d08ab00c1c638dd79712505e30b897549 100644
(file)
--- a/
drivers/dma/ste_dma40.c
+++ b/
drivers/dma/ste_dma40.c
@@
-2172,7
+2172,7
@@
static int d40_alloc_chan_resources(struct dma_chan *chan)
bool is_free_phy;
spin_lock_irqsave(&d40c->lock, flags);
-
chan->completed_cookie = chan->cookie = 1
;
+
dma_cookie_init(chan)
;
/* If no dma configuration is set use default configuration (memcpy) */
if (!d40c->configured) {
This page took
0.025255 seconds
and
5
git commands to generate.