diff options
author | Masahiro Yamada <[email protected]> | 2015-10-30 11:39:04 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-12-13 19:59:48 -0800 |
commit | f2bfdb0628d50339a70de475eb2be1c4c1eb9014 (patch) | |
tree | c832d7c140eaedf72ce1592a106451113e0836a1 /lib/cpu-notifier-error-inject.c | |
parent | 2cda227bba7e8398c6f8a7792c7f35818187dcc6 (diff) |
serial: 8250_early: confirm empty transmitter after sending characters
The current code waits until the transmitter becomes empty,
before sending each character, and after finishing the whole string.
This seems a bit redundant.
It can be more efficient by checking the transmitter only after sending
each character. This should be safe because the transmitter is already
empty at the first entry of serial_putc().
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions