From: Joel Fernandes Date: Thu, 17 Apr 2014 05:58:33 +0000 (-0500) Subject: dmaengine: edma: No need save/restore interrupt flags during spin_lock in IRQ X-Git-Tag: omap-for-v3.16/fixes-against-rc1~69^2~51 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=406efb1a745c1dc512dc9c3c859e302e7b7f907e;p=pandora-kernel.git dmaengine: edma: No need save/restore interrupt flags during spin_lock in IRQ The vchan lock in edma_callback is acquired in hard interrupt context. As interrupts are already disabled, there's no point in save/restoring interrupt mask bit or cpsr flags. Get rid of flags local variable and use spin_lock instead of spin_lock_irqsave. Signed-off-by: Joel Fernandes Signed-off-by: Vinod Koul --- Reading git-diff-tree failed