128a1b87d3
While the state changes are reported when the error counters increase and decrease, there is no event when the bus recovers and the error counters decrease again. So add those 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> Cc: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |
||
---|---|---|
.. | ||
kvaser_usb | ||
peak_usb | ||
Kconfig | ||
Makefile | ||
ems_usb.c | ||
esd_usb2.c | ||
gs_usb.c | ||
mcba_usb.c | ||
ucan.c | ||
usb_8dev.c |