commit | 9c9ceca51b598f87012127de675ca5b365585d93 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Mon Sep 05 11:31:18 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Sep 24 10:47:01 2022 -0400 |
tree | 73d35b6b8c6cf4830f1fff287071d6ce0ce432b0 | |
parent | 5aceb2692fc25ba93d9ad21edfc1750c017d036b [diff] |
serial: Implement flush callback UART drivers have putc/puts functions which just put characters into HW transmit queue and do not wait until all data are transmitted. Implement flush callback via serial driver's pending(false) callback which waits until HW transmit all characters from the queue. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>