[PATCH v2] serial: Use -EAGAIN in getc and putc
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: not available
More information about the U-Boot