Commit b52df465 authored by Edgar E. Iglesias's avatar Edgar E. Iglesias
Browse files

cadence_uart: Handle backend tx errors


Signed-off-by: default avatarEdgar E. Iglesias <edgar.iglesias@gmail.com>
parent 576156ff
......@@ -297,9 +297,7 @@ static void uart_write_tx_fifo(UartState *s, const uint8_t *buf, int size)
return;
}
while (size) {
size -= qemu_chr_fe_write(s->chr, buf, size);
}
qemu_chr_fe_write_all(s->chr, buf, size);
}
static void uart_receive(void *opaque, const uint8_t *buf, int size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment