From b1c6d7270ea3d005beb3200475d36b9f8cb16ddd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Fri, 13 Aug 2010 14:08:50 +0800 Subject: [PATCH] =?utf8?q?dma:=20=E8=B0=83=E7=94=A8spin=5Flock=5Finit?= =?utf8?q?=EF=BC=8C=E6=AD=A3=E7=A1=AE=E5=88=9D=E5=A7=8B=E5=8C=96dma?= =?utf8?q?=E7=9A=84lock?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- arch/arm/mach-rk2818/dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rk2818/dma.c b/arch/arm/mach-rk2818/dma.c index d9cdde936a0b..81b945c03c4c 100644 --- 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 */ -- 2.34.1