Re: [PATCH v2 3/6] serial: Implement flush callback

2022-08-11 Thread Simon Glass
On Thu, 11 Aug 2022 at 06:39, Pali Rohár 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

[PATCH v2 3/6] serial: Implement flush callback

2022-08-11 Thread Pali Rohár
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 ---