diff options
| author | Erwan Le Ray <[email protected]> | 2021-03-04 17:22:58 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 09:34:10 +0100 |
| commit | f264c6f6aece81a9f8fbdf912b20bd3feb476a7a (patch) | |
| tree | c946c89f35db0ae80eb75482df7583920d5105bc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f4518a8a75f5be1a121b0c95ad9c6b1eb27d920e (diff) | |
serial: stm32: fix incorrect characters on console
Incorrect characters are observed on console during boot. This issue occurs
when init/main.c is modifying termios settings to open /dev/console on the
rootfs.
This patch adds a waiting loop in set_termios to wait for TX shift register
empty (and TX FIFO if any) before stopping serial port.
Fixes: 48a6092fb41f ("serial: stm32-usart: Add STM32 USART Driver")
Signed-off-by: Erwan Le Ray <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions