]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: pl011: Resend the character if FIFO is full in debug uart
authorChen Baozi <chenbaozi@phytium.com.cn>
Mon, 19 Jul 2021 07:36:04 +0000 (15:36 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jul 2021 22:53:46 +0000 (18:53 -0400)
commit198201509a460c8f1b85e3447b35599129f4f885
treee65ac8899e2458471f415e39c475ddb91bcab422
parent8f20c480799c54f2ff6ee9ef3d735c342bca8054
serial: pl011: Resend the character if FIFO is full in debug uart

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@phytium.com.cn>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_pl01x.c