[PATCH v2] serial: pl011: Resend the character if FIFO is full in debug uart

Simon Glass sjg at chromium.org
Tue Jul 20 20:33:11 CEST 2021


On Mon, 19 Jul 2021 at 01:36, Chen Baozi <chenbaozi at phytium.com.cn> wrote:
>
> pl01x_putc() might return -EAGAIN if there was no space in FIFO. In that
> case, high-level caller should wait until there is space and resend the
> character.
>
> Signed-off-by: Chen Baozi <chenbaozi at phytium.com.cn>
> Reviewed-by: Stefan Roese <sr at denx.de>
> ---
>  drivers/serial/serial_pl01x.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list