Skip to contentSkip to conversation

serial/amba-pl011: Fix mismerge between v4.1-rc4 and tty-next

PATCH New Dave Martin 1 participant 1 message May 19, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial/amba-pl011: Fix mismerge between v4.1-rc4 and tty-next

In commit 02730d3c053a9af1d402e1c8dc8bbbc5a1340406 (Merge 4.1-rc4 into tty-next), git mismerged some lines, reintroducing a reference to the removed field uart_amba_port.tx_irq_seen. This causes a build failure.

This patch removes the mismerged lines, restoring the code to what was in tty-next (which was the intention).

---

This patch is based on tty-next commit 02730d3c053a9af1d402e1c8dc8bbbc5a1340406 (Merge 4.1-rc4 into tty-next).

Without it, amba-pl011.c won't build.

 drivers/tty/serial/amba-pl011.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/tty/serial/amba-pl011.c +0 -3
index 6fabc05..f5bd842 100644
@@ -1578,9 +1578,6 @@ static int pl011_startup(struct uart_port *port)
 
 	writew(uap->vendor->ifls, uap->port.membase + UART011_IFLS);
 
-	/* Assume that TX IRQ doesn't work until we see one: */
-	uap->tx_irq_seen = 0;
-
 	spin_lock_irq(&uap->port.lock);
 
 	/* restore RTS and DTR */
Signature · 1 line
1.7.10.4