mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
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>
This commit is contained in:
parent
e1ae7ed216
commit
a85f305f6e
@ -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);
|
||||
|
@ -43,7 +43,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(config, regi_config, rw_clk_ctrl);
|
||||
|
Loading…
Reference in New Issue
Block a user