twx-linux/drivers/net/can/rockchip
Marc Kleine-Budde a63e10462a can: rockchip_canfd: rkcanfd_handle_error_int_reg_ec(): fix decoding of error code register
Probably due to a copy/paste error rkcanfd_handle_error_int_reg_ec()
checks twice if the RKCANFD_REG_ERROR_CODE_TX_ACK_EOF bit is set in
reg_ec.

Keep the correct check for RKCANFD_REG_ERROR_CODE_TX_ACK_EOF and
remove the superfluous one.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://patch.msgid.link/9a46d10d-e4e3-40a5-8fb6-f4637959f124@stanley.mountain
Fixes: ff60bfbaf67f ("can: rockchip_canfd: add driver for Rockchip CAN-FD controller")
Link: https://patch.msgid.link/20240911-can-rockchip_canfd-fixes-v1-2-5ce385b5ab10@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2024-09-11 10:58:18 +02:00
..
Kconfig
Makefile can: rockchip_canfd: add stats support for errata workarounds 2024-09-04 14:41:53 +02:00
rockchip_canfd-core.c can: rockchip_canfd: rkcanfd_handle_error_int_reg_ec(): fix decoding of error code register 2024-09-11 10:58:18 +02:00
rockchip_canfd-ethtool.c can: rockchip_canfd: add hardware timestamping support 2024-09-04 14:41:53 +02:00
rockchip_canfd-rx.c can: rockchip_canfd: add support for CAN_CTRLMODE_LOOPBACK 2024-09-04 14:41:53 +02:00
rockchip_canfd-timestamp.c can: rockchip_canfd: rkcanfd_timestamp_init(): rework delay calculation 2024-09-11 10:58:18 +02:00
rockchip_canfd-tx.c can: rockchip_canfd: fix return type of rkcanfd_start_xmit() 2024-09-09 08:17:06 +02:00
rockchip_canfd.h can: rockchip_canfd: fix return type of rkcanfd_start_xmit() 2024-09-09 08:17:06 +02:00