projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97b98d
)
dma: mmp_pdma: use list_move instead of list_del/list_add
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Mon, 23 Sep 2013 06:07:20 +0000
(14:07 +0800)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 7 Oct 2013 02:11:39 +0000
(07:41 +0530)
Using list_move() instead of list_del() + list_add().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/mmp_pdma.c
b/drivers/dma/mmp_pdma.c
index
ff8d782
..
558994f
100644
(file)
--- a/
drivers/dma/mmp_pdma.c
+++ b/
drivers/dma/mmp_pdma.c
@@
-798,8
+798,7
@@
static void dma_do_tasklet(unsigned long data)
* move the descriptors to a temporary list so we can drop
* the lock during the entire cleanup operation
*/
- list_del(&desc->node);
- list_add(&desc->node, &chain_cleanup);
+ list_move(&desc->node, &chain_cleanup);
/*
* Look for the first list entry which has the ENDIRQEN flag