]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/char/imx_serial: Update all state before restarting ageing timer
authorBernhard Beschow <shentey@gmail.com>
Sat, 11 Jan 2025 18:37:01 +0000 (19:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jan 2025 13:50:14 +0000 (13:50 +0000)
commita451cc11c47903242123def2717a86a56e5fb390
treece693d2a47a5e7ec408bd2302d399fcd6a8400f4
parentb6cd77fbddf020d4dad23476b286fbeb22d4c334
hw/char/imx_serial: Update all state before restarting ageing timer

Fixes characters to be "echoed" after each keystroke rather than after every
other since imx_serial_rx_fifo_ageing_timer_restart() would see ~UTS1_RXEMPTY
only after every other keystroke.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/imx_serial.c