commit | 1138bbe05e617034cf542ac0bc13cfa804cb09f6 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sun Dec 11 00:31:21 2022 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 02 16:01:40 2023 -0500 |
tree | 78bc2257f2d725955ac2145571ab586ac28d126a | |
parent | 59440d83d38bfed31931d11aa06a3fb56acbd2f0 [diff] |
serial: Use -EAGAIN in getc and putc 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@kernel.org>