]> git.proxmox.com Git - mirror_qemu.git/commit
cadence_uart: Check if receiver timeout counter is disabled
authorAndrew Gacek <andrew.gacek@gmail.com>
Tue, 27 Dec 2016 14:59:23 +0000 (14:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Dec 2016 14:59:23 +0000 (14:59 +0000)
commit2494c9f6405a1979319f12d1bb4e9a6eb28a529d
tree30a0cefc51a14f6f75850df37e6c03e562999e40
parent450aaae8638e4c75ac6547ce6e09d63281a5a925
cadence_uart: Check if receiver timeout counter is disabled

When register Rcvr_timeout_reg0 (R_RTOR in cadence_uart.c) is set to
0, the receiver timeout counter should be disabled. See page 1801 of
"Zynq-7000 AP SoC Technical Reference Manual". This commit adds a
such a check before setting the receive timeout interrupt.

Signed-off-by: Andrew Gacek <andrew.gacek@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/cadence_uart.c