]> git.proxmox.com Git - mirror_qemu.git/commit - hw/char/cmsdk-apb-uart.c
hw/char/cmsdk-apb-uart.c: Accept more input after character read
authorPatrick Oppenlander <patrick.oppenlander@gmail.com>
Fri, 4 May 2018 17:05:50 +0000 (18:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 May 2018 17:05:50 +0000 (18:05 +0100)
commit0c6a108ec1efd8498b281086d44604204196a9d5
tree28605bf255666301a2a261f5137d0cd3982736e4
parent100061121c1f69a672ce7bb3e9e3781f8018f9f6
hw/char/cmsdk-apb-uart.c: Accept more input after character read

The character frontend needs to be notified that the uart receive buffer
is empty and ready to handle another character.

Previously, the uart only worked correctly when receiving one character
at a time.

Signed-off-by: Patrick Oppenlander <patrick.oppenlander@gmail.com>
Message-id: CAEg67GkRTw=cXei3o9hvpxG_L4zSrNzR0bFyAgny+sSEUb_kPw@mail.gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/cmsdk-apb-uart.c