Re: [PATCH] dmaengine: edma: No need save/restore interrupt flags during spin_lock in IRQ
On Thu, Apr 17, 2014 at 12:58:33AM -0500, Joel Fernandes wrote:
> 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.