linux/drivers/net/can/m_can
Marc Kleine-Budde 91a55c72a8 can: m_can: m_can_get_berr_counter(): don't wake up controller if interface is down
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>
2025-10-17 15:17:19 +02:00
..
Kconfig can: Kconfig: add CONFIG_CAN_RX_OFFLOAD 2022-06-11 17:11:02 +02:00
Makefile can: tcan4x5x: move regmap code into seperate file 2021-01-06 15:15:37 +01:00
m_can.c can: m_can: m_can_get_berr_counter(): don't wake up controller if interface is down 2025-10-17 15:17:19 +02:00
m_can.h can: m_can: m_can_init_ram(): make static 2025-10-17 15:16:50 +02:00
m_can_pci.c can: m_can: Return ERR_PTR on error in allocation 2025-10-17 11:02:28 +02:00
m_can_platform.c can: m_can: Return ERR_PTR on error in allocation 2025-10-17 11:02:28 +02:00
tcan4x5x-core.c can: m_can: Return ERR_PTR on error in allocation 2025-10-17 11:02:28 +02:00
tcan4x5x-regmap.c can: tcan4x5x: Remove reserved register 0x814 from writable table 2023-07-31 10:41:08 +02:00
tcan4x5x.h can: tcan4x5x: add option for selecting nWKRQ voltage 2024-12-23 12:37:24 +01:00