If the interface is down, the CAN controller might be powered down, the clock disabled, and/or it's external reset asserted. Don't wake up the controller to read the CAN bus error counters, if the interface is down. Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com> Link: https://patch.msgid.link/20251008-m_can-cleanups-v1-7-1784a18eaa84@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| m_can.c | ||
| m_can.h | ||
| m_can_pci.c | ||
| m_can_platform.c | ||
| tcan4x5x-core.c | ||
| tcan4x5x-regmap.c | ||
| tcan4x5x.h | ||