diff options
author | Anssi Hannula <[email protected]> | 2022-10-10 20:52:33 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2022-10-26 10:18:37 +0200 |
commit | a11249acf802341294557895d8e5f6aef080253f (patch) | |
tree | c50cbb7e7c5d7f0cb97b83234a825140d4be490d /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 8d21f5927ae604881f98587fabf6753f88730968 (diff) |
can: kvaser_usb_leaf: Fix wrong CAN state after stopping
0bfd:0124 Kvaser Mini PCI Express 2xHS FW 4.18.778 sends a
CMD_CHIP_STATE_EVENT indicating bus-off after stopping the device,
causing a stopped device to appear as CAN_STATE_BUS_OFF instead of
CAN_STATE_STOPPED.
Fix that by not handling error events on stopped devices.
Fixes: 080f40a6fa28 ("can: kvaser_usb: Add support for Kvaser CAN/USB devices")
Tested-by: Jimmy Assarsson <[email protected]>
Signed-off-by: Anssi Hannula <[email protected]>
Signed-off-by: Jimmy Assarsson <[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/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions