aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStephane Grosjean <[email protected]>2021-07-15 16:28:41 +0200
committerMarc Kleine-Budde <[email protected]>2021-07-25 11:36:28 +0200
commitc11dcee758302702a83c6e85e4c4c3d9af42d2b3 (patch)
treecdc721fdf7577a18d6c2f9bd85bb71115c3b1c71 /tools/perf/scripts/python
parent1763c547648d5592b79139a1f5cf2e88d6258cf6 (diff)
can: peak_usb: pcan_usb_decode_error(): upgrade handling of bus state changes
This patch updates old code by using the can_change_state() function published since by the socket-can module. In particular, this new code better manages the change of bus state by also using the value of the error counters that the driver now systematically asks for when initializing the channel. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephane Grosjean <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions