OpenCloudOS-Kernel/drivers/net/can/usb
Jimmy Assarsson fb12797ab1 can: kvaser_usb: get CAN clock frequency from device
The CAN clock frequency is used when calculating the CAN bittiming
parameters. When wrong clock frequency is used, the device may end up
with wrong bittiming parameters, depending on user requested bittiming
parameters.

To avoid this, get the CAN clock frequency from the device. Various
existing Kvaser Leaf products use different CAN clocks.

Fixes: 080f40a6fa ("can: kvaser_usb: Add support for Kvaser CAN/USB devices")
Link: https://lore.kernel.org/all/20211208152122.250852-2-extja@kvaser.com
Cc: stable@vger.kernel.org
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2021-12-09 09:01:43 +01:00
..
etas_es58x can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path 2021-11-06 17:29:40 +01:00
kvaser_usb can: kvaser_usb: get CAN clock frequency from device 2021-12-09 09:01:43 +01:00
peak_usb can: peak_usb: exchange the order of information messages 2021-11-06 17:34:28 +01:00
Kconfig can: kvaser_usb: Add new Kvaser hydra devices 2021-05-27 09:42:23 +02:00
Makefile can: etas_es58x: add core support for ETAS ES58X CAN USB interfaces 2021-04-13 10:15:42 +02:00
ems_usb.c can: ems_usb: fix memory leak 2021-07-30 08:47:24 +02:00
esd_usb2.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-26 17:57:57 -07:00
gs_usb.c can: gs_usb: use %u to print unsigned values 2021-10-24 16:26:05 +02:00
mcba_usb.c can: mcba_usb_start(): add missing urb->transfer_dma initialization 2021-07-30 08:47:01 +02:00
ucan.c can: ucan: fix alignment constraints 2021-03-30 11:14:46 +02:00
usb_8dev.c can: usb_8dev: fix memory leak 2021-07-30 08:47:05 +02:00