[PATCH v2] serial: Use -EAGAIN in getc and putc

Tom Rini trini at konsulko.com
Tue Jan 3 16:42:40 CET 2023


On Sun, Dec 11, 2022 at 12:31:21AM +0100, Pali Rohár 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 at kernel.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230103/9d720b38/attachment.sig>


More information about the U-Boot mailing list