commit | 406efb1a745c1dc512dc9c3c859e302e7b7f907e | [log] [tgz] |
---|---|---|
author | Joel Fernandes <joelf@ti.com> | Thu Apr 17 00:58:33 2014 -0500 |
committer | Vinod Koul <vinod.koul@intel.com> | Wed Apr 23 11:21:17 2014 +0530 |
tree | e209379f0e4ae06f2332085c2d59a97201e7bfcd | |
parent | 8cc3e30bea9a90f9ab7a1bc4612792c40ad7ae95 [diff] |
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 <joelf@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>