From: Russell King - ARM Linux Date: Mon, 3 Jan 2011 22:31:24 +0000 (+0000) Subject: ARM: PL08x: fix locking in tasklet X-Git-Tag: v2.6.38-rc1~25^2~11^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf072af461c166964fb110cfcafccd752fbb4c64;p=pandora-kernel.git ARM: PL08x: fix locking in tasklet Tasklets are run from an interruptible context. The slave DMA functions can be called from within IRQ handlers. Taking the spinlock without disabling interrupts allows an interrupt handler to run, which may try to take the spinlock again, resulting in deadlock. Fix this by using the irqsave spinlocks. Signed-off-by: Russell King Acked-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed