]> git.itanic.dy.fi Git - linux-stable/commitdiff
Merge patch "can: esd_usb: Add support for esd CAN-USB/3"
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 3 Aug 2023 07:24:33 +0000 (09:24 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 3 Aug 2023 07:24:33 +0000 (09:24 +0200)
Frank Jungclaus <frank.jungclaus@esd.eu> says:

After having applied a vast number of improvements to the existing
CAN-USB/2 driver here now is a new attempt to add support for the esd
CAN-USB/3 CAN FD interface.

Beside this patch there are the following to-do's left for follow-up
patches:

* In principle, the esd CAN-USB/3 supports Transmitter Delay
  Compensation (TDC), but currently only the automatic TDC mode is
  supported by this driver. An implementation for manual TDC
  configuration will follow.

* Rework the code to no longer switch directly on the USB product IDs
  to handle different device setting for each supported USB
  device. Instead use the driver_info member within struct usb_device_id
  to hold / point to specific properties for each supported device.

* Try to switch from synchronous send usb_bulk_msg() to asynchronous
  communication by means of usb_submit_urb() where it is feasible.

Link: https://lore.kernel.org/all/20230728150857.2374886-1-frank.jungclaus@esd.eu
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

Trivial merge