Thomas Betker 136debf707 serial: xuartps: Fix check in console_setup().
cdns_uart_console_setup() checks port->mapbase != 0, but the port may
not be initialized yet even if this condition is met [e.g., ioremap()
may have failed]. Check port->membase != NULL instead, similar to
cdns_early_console_setup().

Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-26 22:55:18 +01:00
..
2015-03-26 22:49:10 +01:00
2015-03-26 22:49:10 +01:00
2015-03-09 07:08:37 +01:00
2015-03-26 22:49:10 +01:00
2014-11-25 17:06:39 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-03-26 22:49:10 +01:00
2015-03-26 22:49:10 +01:00
2015-03-26 22:49:10 +01:00
2014-12-14 16:10:09 -08:00
2014-06-19 13:04:52 -07:00
2015-03-26 22:38:36 +01:00
2014-06-19 13:04:52 -07:00
2015-03-09 07:08:37 +01:00
2015-03-26 22:49:10 +01:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-03-26 22:49:10 +01:00
2015-03-26 22:49:10 +01:00
2014-06-19 13:04:52 -07:00