hw/net/can: fix Xilinx ZynqMP CAN RX FIFO logic
authorAnton Kochkov <anton.kochkov@proton.me>
Wed, 17 Aug 2022 14:22:03 +0000 (14:22 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Sep 2022 15:38:26 +0000 (16:38 +0100)
commitfb96d131eec66ecb2993c544058a8cb2c9c3521f
treede68d7f9d22fda44c6c1c4176712599714edb19d
parent6338c30111d596d955e6bc933a82184a0b910c43
hw/net/can: fix Xilinx ZynqMP CAN RX FIFO logic

For consistency, function "update_rx_fifo()" should use the RX FIFO
register field names, not the TX FIFO ones, even if they refer to the
same bit positions in the register.

Signed-off-by: Anton Kochkov <anton.kochkov@proton.me>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-id: 20220817141754.2105981-1-anton.kochkov@proton.me
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1123
[PMM: tweaked commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/can/xlnx-zynqmp-can.c