commit | 241f12d31dce48d5445e2fbda37274ace812573f | [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 | b2aa5b62816e138c0a69222577a117e3c7ffa88f [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>