aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-uart.c')
-rw-r--r--hw/milkymist-uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/milkymist-uart.c b/hw/milkymist-uart.c
index ac6f5373ad..f3bdf6991a 100644
--- a/hw/milkymist-uart.c
+++ b/hw/milkymist-uart.c
@@ -132,6 +132,7 @@ static void uart_write(void *opaque, hwaddr addr, uint64_t value,
case R_STAT:
/* write one to clear bits */
s->regs[addr] &= ~(value & (STAT_RX_EVT | STAT_TX_EVT));
+ qemu_chr_accept_input(s->chr);
break;
default: