aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMartin Hundebøll <[email protected]>2024-06-07 12:52:08 +0200
committerMarc Kleine-Budde <[email protected]>2024-06-21 09:47:24 +0200
commitcd5a46ce6fa62abedd7740e4bd9f3d82041210ee (patch)
tree306e4946b97d0cd5ac8a33e0bd84b9a9e333f494 /tools/perf/scripts/python/syscall-counts.py
parent3da74c5145dc729e06e2fb950b4aa196f83bf65f (diff)
can: m_can: don't enable transceiver when probing
The m_can driver sets and clears the CCCR.INIT bit during probe (both when testing the NON-ISO bit, and when configuring the chip). After clearing the CCCR.INIT bit, the transceiver enters normal mode, where it affects the CAN bus (i.e. it ACKs frames). This can cause troubles when the m_can node is only used for monitoring the bus, as one cannot setup listen-only mode before the device is probed. Rework the probe flow, so that the CCCR.INIT bit is only cleared when upping the device. First, the tcan4x5x driver is changed to stay in standby mode during/after probe. This in turn requires changes when setting bits in the CCCR register, as its CSR and CSA bits are always high in standby mode. Signed-off-by: Martin Hundebøll <[email protected]> Reviewed-by: Markus Schneider-Pargmann <[email protected]> Tested-by: Markus Schneider-Pargmann <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions