]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: altera: fix spinlock usage
authorSylvain Lesne <lesne@alse-fr.com>
Mon, 18 Sep 2017 11:08:01 +0000 (13:08 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 28 Sep 2017 07:41:46 +0000 (13:11 +0530)
commitd88849f2c855b879d58fb4679cc5c61da260c533
tree29c938ba46a6352433f884d05f36192eaa696a26
parent5d0181debd0a9952839d2190a00932a140d7f748
dmaengine: altera: fix spinlock usage

Since this lock is acquired in both process and IRQ context, failing to
to disable IRQs when trying to acquire the lock in process context can
lead to deadlocks.

Signed-off-by: Sylvain Lesne <lesne@alse-fr.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/altera-msgdma.c