aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-05-29 06:13:43 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-29 14:26:11 -0400
commit58eb97c99da6a82c556ddec70683eb3863d4f617 (patch)
tree2484f8730bf6c1c7349f9c53fe428e87fa34b268 /drivers/tty
parent91727b16d571155286cae941f35c752287ec49cf (diff)
serial: sirf: Fix compilation failure
After 07d410e0) serial: sirf: fix spinlock deadlock issue it is no longer possiblet to compile this driver. The rename of one of the spinlocks is faulty. After looking at the original patch I believe this is the correct fix. Compile tested using ARM's multi_v7_defconfig Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Jiri Slaby <jslaby@suse.cz> Cc: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Acked-by: Barry Song <baohua@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/sirfsoc_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c
index 236f892dab9c..1f2be48c92ce 100644
--- a/drivers/tty/serial/sirfsoc_uart.c
+++ b/drivers/tty/serial/sirfsoc_uart.c
@@ -704,7 +704,7 @@ static void sirfsoc_uart_rx_dma_complete_tl(unsigned long param)
704 struct sirfsoc_int_en *uint_en = &sirfport->uart_reg->uart_int_en; 704 struct sirfsoc_int_en *uint_en = &sirfport->uart_reg->uart_int_en;
705 unsigned long flags; 705 unsigned long flags;
706 struct dma_tx_state tx_state; 706 struct dma_tx_state tx_state;
707 spin_lock_irqsave(&port->rx_lock, flags); 707 spin_lock_irqsave(&port->lock, flags);
708 while (DMA_COMPLETE == dmaengine_tx_status(sirfport->rx_dma_chan, 708 while (DMA_COMPLETE == dmaengine_tx_status(sirfport->rx_dma_chan,
709 sirfport->rx_dma_items[sirfport->rx_completed].cookie, &tx_state)) { 709 sirfport->rx_dma_items[sirfport->rx_completed].cookie, &tx_state)) {
710 sirfsoc_uart_insert_rx_buf_to_tty(sirfport, 710 sirfsoc_uart_insert_rx_buf_to_tty(sirfport,