]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
serial/amba-pl011: Fix mismerge between v4.1-rc4 and tty-next
authorDave Martin <Dave.Martin@arm.com>
Tue, 19 May 2015 10:51:14 +0000 (11:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 May 2015 23:42:10 +0000 (16:42 -0700)
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).

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c

index 6fabc059efed7a623de9201f51346a29e1d28d4a..f5bd8426fd75614412f93331560d0ee3aef7a3f0 100644 (file)
@@ -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 */