summaryrefslogtreecommitdiff
path: root/arch/cris/arch-v32/mach-a3
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-09-23 15:55:59 +0200
committerJesper Nilsson <jespern@axis.com>2016-09-23 16:00:04 +0200
commita85f305f6e4e4055ac1f43e18a96417bcd146d45 (patch)
tree6a108cd5231e6871bd2a28b06c4148a3fd1c0325 /arch/cris/arch-v32/mach-a3
parente1ae7ed216981c2271b672d4f0eb4213e63df7ff (diff)
CRIS v32: remove some double unlocks
We unlocked a few lines earlier so we can delete these unlocks. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jesper Nilsson <jespern@axis.com>
Diffstat (limited to 'arch/cris/arch-v32/mach-a3')
-rw-r--r--arch/cris/arch-v32/mach-a3/dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/cris/arch-v32/mach-a3/dma.c b/arch/cris/arch-v32/mach-a3/dma.c
index 47c64bf40eae..11f417f4da98 100644
--- a/arch/cris/arch-v32/mach-a3/dma.c
+++ b/arch/cris/arch-v32/mach-a3/dma.c
@@ -41,7 +41,6 @@ int crisv32_request_dma(unsigned int dmanr, const char *device_id,
if (options & DMA_PANIC_ON_ERROR)
panic("request_dma error!");
- spin_unlock_irqrestore(&dma_lock, flags);
return -EBUSY;
}
clk_ctrl = REG_RD(clkgen, regi_clkgen, rw_clk_ctrl);