]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: altera: Use IRQ-safe spinlock calls in the error paths as well
authorStefan Roese <sr@denx.de>
Mon, 16 Oct 2017 06:13:53 +0000 (08:13 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 20 Oct 2017 06:21:10 +0000 (11:51 +0530)
commita5a95ca1184e2777eed068ef21fe3890c3b30fbe
tree157c0754c2b94ff4595304b7734c3592c539e60f
parentd599018c3d91869a00bbed486bd864ca0c31bf99
dmaengine: altera: Use IRQ-safe spinlock calls in the error paths as well

The patch d88849f2 [dmaengine: altera: fix spinlock usage] missed to
change 2 occurrences of spin_unlock_bh() to spin_unlock_irqrestore().
This patch fixes this by moving to the IRQ-safe call in the error
paths as well.

Fixes: d88849f2 (dmaengine: altera: fix spinlock usage)
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Sylvain Lesne <lesne@alse-fr.com>
[add fixes tag and fix typo in log]
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/altera-msgdma.c