diff options
author | Jeroen Hofstee <jhofstee@victronenergy.com> | 2019-10-01 21:01:24 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-04 21:47:21 +0100 |
commit | 6f12001ad5e79d0a0b08c599731d45c34cafd376 (patch) | |
tree | 7c523a66dec1d3e0fa3ae7e1fd8e202c745c4c63 /lib/fdt_rw.c | |
parent | 23c5a9488f076bab336177cd1d1a366bd8ddf087 (diff) |
can: c_can: C_CAN: add bus recovery events
While the state is updated when the error counters increase and
decrease, there is no event when the bus recovers and the error counters
decrease again. So add that event as well.
Change the state going downward to be ERROR_PASSIVE -> ERROR_WARNING ->
ERROR_ACTIVE instead of directly to ERROR_ACTIVE again.
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Acked-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Tested-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/fdt_rw.c')
0 files changed, 0 insertions, 0 deletions