]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
serial: xuartps: Fix iobase use.
authorThomas Betker <thomas.betker@rohde-schwarz.com>
Tue, 10 Mar 2015 21:45:09 +0000 (22:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 16 Apr 2015 13:01:23 +0000 (15:01 +0200)
commit827008bfdf706d637a3ac84b2ca1b0dff6638393
tree98957098f6db87fbe0d0a23d343c8ccda2c3103d
parent8eb6b54ac80700bde71a05b6802cfd051c20a886
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: Michal Simek <michal.simek@xilinx.com>
drivers/tty/serial/xilinx_uartps.c