This patch series was originally posted by Anssi Hannula [1]. Since v1 I've rebased the patches on top of commit b3b6df2c56d8 ("can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits") and replaced a couple of patches with new ones. [1] https://lore.kernel.org/linux-can/20220516134748.3724796-1-anssi.hannula@xxxxxxxxxx Anssi Hannula (10): can: kvaser_usb_leaf: Fix overread with an invalid command can: kvaser_usb: Fix use of uninitialized completion can: kvaser_usb: Fix possible completions during init_completion can: kvaser_usb_leaf: Set Warning state even without bus errors can: kvaser_usb_leaf: Fix TX queue out of sync after restart can: kvaser_usb_leaf: Fix CAN state after restart can: kvaser_usb_leaf: Fix improved state not being reported can: kvaser_usb_leaf: Fix wrong CAN state after stopping can: kvaser_usb_leaf: Ignore stale bus-off after start can: kvaser_usb_leaf: Fix bogus restart events Jimmy Assarsson (5): can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT can: kvaser_usb: Add struct kvaser_usb_busparams can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming drivers/net/can/usb/kvaser_usb/kvaser_usb.h | 32 +- .../net/can/usb/kvaser_usb/kvaser_usb_core.c | 167 ++++-- .../net/can/usb/kvaser_usb/kvaser_usb_hydra.c | 166 ++++-- .../net/can/usb/kvaser_usb/kvaser_usb_leaf.c | 543 ++++++++++++++++-- 4 files changed, 781 insertions(+), 127 deletions(-) -- 2.36.1