Skip to content
Commit 406efb1a authored by Joel Fernandes's avatar Joel Fernandes Committed by Vinod Koul
Browse files

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: default avatarJoel Fernandes <joelf@ti.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 8cc3e30b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment