From: Nicolas Ferre Date: Wed, 27 Jul 2011 12:21:28 +0000 (+0000) Subject: dmaengine: at_hdmac: replace spin_lock* with irqsave variants X-Git-Tag: v3.2-rc1~47^2~18^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8cb04b070c2a55f7201714d231cff4f8f9fbd16;p=pandora-kernel.git dmaengine: at_hdmac: replace spin_lock* with irqsave variants dmaengine routines can be called from interrupt context and with interrupts disabled. Whereas spin_unlock_bh can't be called from such contexts. So this patch converts all spin_lock* routines to irqsave variants. Also, spin_lock() used in tasklet is converted to irqsave variants, as tasklet can be interrupted, and dma requests from such interruptions may also call spin_lock. Idea from dw_dmac patch by Viresh Kumar. Signed-off-by: Nicolas Ferre Signed-off-by: Uwe Kleine-König Signed-off-by: Vinod Koul --- Reading git-diff-tree failed