]> git.dujemihanovic.xyz Git - u-boot.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)
commit26f7a7deab33e9fb46abec50a5209878fc3b53dc
tree9f5d4c37130966a32a703156368c44720bc2e7c5
parent70434ab9de795b205608067d9a5e067f30ad3629
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