diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-04-23 11:55:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 12:12:22 +0300 |
commit | 66dd99c2033684169f04068f66c7f83f7da229b8 (patch) | |
tree | 97348ecd1134a6e2f5afb66c5540981266d2f60c /drivers/tty/tty_ldisc.c | |
parent | 903f9db10f18f735e62ba447147b6c434b6af003 (diff) | |
download | linux-66dd99c2033684169f04068f66c7f83f7da229b8.tar.xz |
tty: serial: xuartps: Setup early console when uartclk is also passed
Baudrate calculation depends on requested baudrate and uart clock.
This patch is checking that uartclk is also passed.
The same logic is used 8250_early.c/init_port function.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions