diff options
author | Jeroen Hofstee <jhofstee@victronenergy.com> | 2020-11-27 12:59:38 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-30 14:43:54 +0300 |
commit | c2d095eff797813461a426b97242e3ffc50e4134 (patch) | |
tree | 6e95763151feb40ffcd9948e7a6b723ab919359f /tools/perf/scripts/python/task-analyzer.py | |
parent | bd0ccb92efb09c7da5b55162b283b42a93539ed7 (diff) | |
download | linux-c2d095eff797813461a426b97242e3ffc50e4134.tar.xz |
can: sun4i_can: sun4i_can_err(): don't count arbitration lose as an error
Losing arbitration is normal in a CAN-bus network, it means that a higher
priority frame is being send and the pending message will be retried later.
Hence most driver only increment arbitration_lost, but the sun4i driver also
incremeants tx_error, causing errors to be reported on a normal functioning
CAN-bus. So stop counting them as errors.
Fixes: 0738eff14d81 ("can: Allwinner A10/A20 CAN Controller support - Kernel module")
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Link: https://lore.kernel.org/r/20201127095941.21609-1-jhofstee@victronenergy.com
[mkl: split into two seperate patches]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions