]> asedeno.scripts.mit.edu Git - linux.git/commit
earlycon: Remove hardcoded port->uartclk initialization in of_setup_earlycon
authorMichal Simek <michal.simek@xilinx.com>
Wed, 25 Apr 2018 13:48:42 +0000 (15:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:41:05 +0000 (13:41 +0200)
commit182ead3e418a20328b73152b8e81fc8b4cac3b0b
tree843fb54fc98542ea122fd77c0c2a966f2fc4fb7a
parent4a7e625ce50412a7711efa0f2ef0b96ce3826759
earlycon: Remove hardcoded port->uartclk initialization in of_setup_earlycon

There is no reason to initialize uartclk to BASE_BAUD * 16 for DT based
systems.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/earlycon.c