WSL2-Linux-Kernel/include/linux/can
Andri Yngvason bac78aabcf can: dev: Consolidate and unify state change handling
The handling of can error states is different between platforms.
This is an attempt to correct that problem.

I've moved this handling into a generic function for changing the
error state. This ensures that error state changes are handled
the same way everywhere (where this function is used).

This new mechanism also adds reverse state transitioning in error
frames, i.e. the user will be notified through the socket interface
when the state goes down.

Signed-off-by: Andri Yngvason <andri.yngvason@marel.com>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-12-07 21:22:09 +01:00
..
platform can: unify identifiers to ensure unique include processing 2014-05-19 09:38:24 +02:00
core.h can: unify identifiers to ensure unique include processing 2014-05-19 09:38:24 +02:00
dev.h can: dev: Consolidate and unify state change handling 2014-12-07 21:22:09 +01:00
led.h can: unify identifiers to ensure unique include processing 2014-05-19 09:38:24 +02:00
skb.h can: unify identifiers to ensure unique include processing 2014-05-19 09:38:24 +02:00