summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2025-08-06 12:20:44 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2025-10-17 15:17:19 +0200
commit91a55c72a821d106a588af4c28aec129dcbea5af (patch)
treec4b85b2089bd624f7cbeb76bb0677dd7e4ce56c4 /include/linux
parentb24b43522eb33c32ca2348354e2555685c8c4644 (diff)
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions