diff options
author | Pali Rohár <pali@kernel.org> | 2022-12-11 00:31:21 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-02 16:01:40 -0500 |
commit | 1138bbe05e617034cf542ac0bc13cfa804cb09f6 (patch) | |
tree | 78bc2257f2d725955ac2145571ab586ac28d126a /cmd/source.c | |
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>
Diffstat (limited to 'cmd/source.c')
0 files changed, 0 insertions, 0 deletions