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

2022-09-07 Thread Simon Glass
On Mon, 5 Sept 2022 at 03:31, 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

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

2022-09-05 Thread Pali Rohár
On Monday 05 September 2022 19:24:17 Michael Nazzareno Trimarchi wrote: > Hi > > Il lun 5 set 2022, 11:32 Pali Rohár ha scritto: > > > UART drivers have putc/puts functions which just put characters into HW > > transmit queue and do not wait until all data are transmitted. > > > > Implement flus

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

2022-09-05 Thread Michael Nazzareno Trimarchi
Hi Il lun 5 set 2022, 11:32 Pali Rohár ha scritto: > 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 a

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

2022-09-05 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 ---