serial: xuartps: Fix iobase use.
authorThomas Betker <thomas.betker@rohde-schwarz.com>
Wed, 11 Mar 2015 21:39:27 +0000 (22:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 21:52:30 +0000 (22:52 +0100)
commit0c39a467e7ba68a0d94439c1ebe260dc5b26302b
treefa67413d5f223342b3e86c9847899d9b1d35380e
parent6db6df0e4a1b913810fc9063bbb332476ce316b7
serial: xuartps: Fix iobase use.

cdns_uart_get_port() sets port->iobase = 1 to "mark port in use", but
this "in use" condition is not checked anywhere else in the code. So
remove the line, keeping port->iobase = 0 (which also makes more sense).

Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c