commit | 99888faffc2446f47985f62773da86f2bfe3dac4 | [log] [tgz] |
---|---|---|
author | Chen Baozi <chenbaozi@phytium.com.cn> | Mon Jul 19 15:36:04 2021 +0800 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 23 18:53:46 2021 -0400 |
tree | e65ac8899e2458471f415e39c475ddb91bcab422 | |
parent | 6aa0714e54c290ba9c103c34168a599192969359 [diff] |
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>