summary refs log tree commit diff stats
path: root/hw/intc/omap_intc.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-09-13 16:07:21 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-09-13 16:07:21 +0100
commit983f4adf364628bf1e75f99d85a47a803d2e2dce (patch)
tree715b20f35a2bf23fd717f69ea7788d7c507c2b5d /hw/intc/omap_intc.c
parent62a3f63182a7cda98bdc168ed841507befca014f (diff)
downloadfocaccia-qemu-983f4adf364628bf1e75f99d85a47a803d2e2dce.tar.gz
focaccia-qemu-983f4adf364628bf1e75f99d85a47a803d2e2dce.zip
hw/char: cadence_uart: Move clock/reset check to uart_can_receive()
Currently the clock/reset check is done in uart_receive(), but we
can move the check to uart_can_receive() which is earlier.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210901124521.30599-4-bmeng.cn@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions