diff options
author | Jeroen Hofstee <jhofstee@victronenergy.com> | 2019-09-24 18:46:06 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-04 21:47:23 +0100 |
commit | b5018be6d5dd9dd257bf8236298daac8b1262750 (patch) | |
tree | 83d646903cc4d99828d0d891de9c7205fa767095 /net/can | |
parent | 3b2d652da21450aba19d299a75fe3a6f5d4003ff (diff) | |
download | linux-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