kernel_samsung_a53x/drivers/net/can
Dario Binacchi d16db102d1 can: c_can: fix {rx,tx}_errors statistics
[ Upstream commit 4d6d26537940f3b3e17138987ed9e4a334780bf7 ]

The c_can_handle_bus_err() function was incorrectly incrementing only the
receive error counter, even in cases of bit or acknowledgment errors that
occur during transmission. The patch fixes the issue by incrementing the
appropriate counter based on the type of error.

Fixes: 881ff67ad450 ("can: c_can: Added support for Bosch C_CAN controller")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://patch.msgid.link/20241014135319.2009782-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-30 02:33:22 +01:00
..
c_can can: c_can: fix {rx,tx}_errors statistics 2024-11-30 02:33:22 +01:00
cc770
dev
ifi_canfd
m_can Revert "can: m_can: Add support for transceiver as phy" 2024-11-24 00:23:29 +01:00
mscan
peak_canfd
rcar
sja1000
softing
spi Revert "can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open" 2024-11-24 00:23:45 +01:00
usb
at91_can.c
flexcan.c
grcan.c
janz-ican3.c
Kconfig
kvaser_pciefd.c
led.c
Makefile
pch_can.c
slcan.c
sun4i_can.c
ti_hecc.c
vcan.c
vxcan.c
xilinx_can.c