serial: 8250_early: Setup divider when uartclk is passed
authorMichal Simek <michal.simek@xilinx.com>
Mon, 23 Apr 2018 09:18:11 +0000 (11:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 12:56:12 +0000 (14:56 +0200)
commit700ad5531b9e90d5442867b389c92aa599e183e4
tree17fa606995f34eb50877e919f00562b794a432ea
parentc6964e93cac98c962f92bca5ae03272caf455df8
serial: 8250_early: Setup divider when uartclk is passed

device->baud is always non zero value because it is checked already in
early_serial8250_setup() before init_port is called.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_early.c