Re: [PATCH] serial: a3720: Implement pending method for output direction

2021-01-15 Thread Pali Rohár
On Friday 15 January 2021 15:50:46 Stefan Roese wrote: > On 14.01.21 15:46, Pali Rohár wrote: > > To check if some output characters are waiting either in Transmitter > > Holding Register or Transmitter Shift Register we need to look at > > TX_EMPTY bit of UART Status Register. > > > > Signed-off-

Re: [PATCH] serial: a3720: Implement pending method for output direction

2021-01-15 Thread Stefan Roese
On 14.01.21 15:46, Pali Rohár wrote: To check if some output characters are waiting either in Transmitter Holding Register or Transmitter Shift Register we need to look at TX_EMPTY bit of UART Status Register. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese BTW: How did you detect this

[PATCH] serial: a3720: Implement pending method for output direction

2021-01-14 Thread Pali Rohár
To check if some output characters are waiting either in Transmitter Holding Register or Transmitter Shift Register we need to look at TX_EMPTY bit of UART Status Register. Signed-off-by: Pali Rohár --- drivers/serial/serial_mvebu_a3700.c | 10 -- 1 file changed, 8 insertions(+), 2 delet