On Mon, 5 Sept 2022 at 03:31, Pali Rohár <[email protected]> wrote: > > 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 <[email protected]> > --- > drivers/serial/serial-uclass.c | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+)
Reviewed-by: Simon Glass <[email protected]>

