]> git.baikalelectronics.ru Git - uboot.git/commit
serial: uniphier: flush transmitter before changing hardware settings
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 Jul 2020 16:12:07 +0000 (01:12 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 11 Jul 2020 12:30:21 +0000 (21:30 +0900)
commita6259a5a61248f1466e50a8d2433b79d7bc4b6c9
tree9f5d4c37130966a32a703156368c44720bc2e7c5
parentc5687665128f639737b153422c99d9e1a35ff592
serial: uniphier: flush transmitter before changing hardware settings

Ensure the transmitter is empty when chaining the baudrate or any
hardware settings. If a character is remaining in the transmitter,
the console will be garbled.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/serial/serial_uniphier.c