summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2024-11-23 01:15:49 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2024-11-26 12:50:48 +0300
commit3e4645931655776e757f9fb5ae29371cd7cb21a2 (patch)
treef75643f8043edd09f8fc91857bbea0ad7c76756e /tools/perf/scripts/python
parentbb03d568bb21b4afe7935d1943bcf68ddea3ea45 (diff)
downloadlinux-3e4645931655776e757f9fb5ae29371cd7cb21a2.tar.xz
can: hi311x: hi3110_can_ist(): fix {rx,tx}_errors statistics
The hi3110_can_ist() function was incorrectly incrementing only the receive error counter, even in cases of bit or acknowledgment errors that occur during transmission. The fix the issue by incrementing the appropriate counter based on the type of error. Fixes: 57e83fb9b746 ("can: hi311x: Add Holt HI-311x CAN driver") Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Link: https://patch.msgid.link/20241122221650.633981-9-dario.binacchi@amarulasolutions.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions