]> git.proxmox.com Git - mirror_qemu.git/commit
hw/char/stm32f2xx_usart: Do not update data register when device is disabled
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 21 Jan 2019 10:23:10 +0000 (10:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jan 2019 10:23:10 +0000 (10:23 +0000)
commit4076618095099702e0a29e47aac30b4931a1f54b
treefa4e0a7e945819731574509fa5a298b3ad959903
parenta8d2b0685681e2f291faaa501efbbd76875f8ec8
hw/char/stm32f2xx_usart: Do not update data register when device is disabled

When the device is disabled, the internal circuitry keeps the data
register loaded and doesn't update it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20190104182057.8778-1-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/stm32f2xx_usart.c