projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0dfc93
)
dma: 调用spin_lock_init,正确初始化dma的lock
author
黄涛
<huangtao@rock-chips.com>
Fri, 13 Aug 2010 06:08:50 +0000
(14:08 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 13 Aug 2010 06:08:50 +0000
(14:08 +0800)
arch/arm/mach-rk2818/dma.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2818/dma.c
b/arch/arm/mach-rk2818/dma.c
index d9cdde936a0bb0b21a0af9d4327b32759ab2f1ee..81b945c03c4c0995d67aa57481c35090b2af3266 100644
(file)
--- a/
arch/arm/mach-rk2818/dma.c
+++ b/
arch/arm/mach-rk2818/dma.c
@@
-726,6
+726,7
@@
static int __init rk28_dma_init(void)
rk2818_dma[i].residue = 0;
rk2818_dma[i].length = 0;
rk2818_dma[i].tasklet_flag = 0;
+ spin_lock_init(&rk2818_dma[i].lock);
}
/* clear all interrupts */