
4 Dec
2022
4 Dec
'22
10:16 p.m.
On Mon, 5 Dec 2022 at 01:37, Pali Rohár pali@kernel.org wrote:
U-Boot serial code already handles -EAGAIN value from getc and putc callbacks. So change drivers code to return -EAGAIN when HW is busy instead of doing its own busy loop and waiting until HW is ready.
Signed-off-by: Pali Rohár pali@kernel.org
drivers/serial/serial_arc.c | 8 ++++---- drivers/serial/serial_lpuart.c | 8 ++++---- drivers/serial/serial_mvebu_a3700.c | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org