Hi all! On 8.7.2022 14.56, Jimmy Assarsson wrote: > 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(-) > Sorry about the delay due to vacation. I have tested the patchset on my devices, so if these are not yet applied Tested-by: Anssi Hannula <anssi.hannula@xxxxxxxxxx> can be added to the new patches except for "can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device" which I sent a separate message about. -- Anssi Hannula / Bitwise Oy +358 503803997