]> 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)
commitd93c65e93850884b8d83a6742a2e95ce352f3ee7
tree157c0754c2b94ff4595304b7734c3592c539e60f
parent18aea357f3e28ce0e8111d8ed08bc8f876b92c43
dmaengine: altera: Use IRQ-safe spinlock calls in the error paths as well

The patch 35e39723 [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: 35e39723 (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