summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorJeroen Hofstee <jhofstee@victronenergy.com>2019-09-24 18:46:06 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-04 21:47:23 +0100
commitb5018be6d5dd9dd257bf8236298daac8b1262750 (patch)
tree83d646903cc4d99828d0d891de9c7205fa767095 /net/can
parent3b2d652da21450aba19d299a75fe3a6f5d4003ff (diff)
downloadlinux-b5018be6d5dd9dd257bf8236298daac8b1262750.tar.bz2
can: ti_hecc: add missing state changes
While the ti_hecc has interrupts to report when the error counters increase to a certain level and which change state it doesn't handle the case that the error counters go down again, so the reported state can actually be wrong. Since there is no interrupt for that, do update state based on the error counters, when the state is not error active and goes down again. Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions