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

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