Skip to content
Commit b4287df8 authored by Chris Metcalf's avatar Chris Metcalf
Browse files

drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN



We were returning zero if no bytes could be written to the Tilera
hypervisor console device, but this causes the output to be truncated.
By returning -EAGAIN the tty hvc driver will come back and try again,
which gives the semantics we want, and avoids dropping console output.

Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChris Metcalf <cmetcalf@ezchip.com>
parent 5bf6c07a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment