linux/drivers/net/can
Jimmy Assarsson bf47bedf8d can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct
commit 19d5b2698c upstream.

Explicitly set the 'family' driver_info struct member for leafimx.
Previously, the correct operation relied on KVASER_LEAF being the first
defined value in enum kvaser_usb_leaf_family.

Fixes: e6c80e6010 ("can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression")
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Link: https://lore.kernel.org/all/20240628194529.312968-1-extja@kvaser.com
Cc: stable@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2024-07-18 13:07:33 +02:00
..
c_can can: c_can: don't cache TX messages for C_CAN cores 2022-10-05 10:39:37 +02:00
cc770 can: cc770: cc770_isa_probe(): add missing free_cc770dev() 2022-12-08 11:28:40 +01:00
dev can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds 2023-11-20 11:08:15 +01:00
ifi_canfd can: dev: can_get_echo_skb(): extend to return can frame length 2021-01-14 08:43:43 +01:00
m_can can: tcan4x5x: Fix use of register error status mask 2022-12-31 13:14:20 +01:00
mscan can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path 2022-11-03 23:59:17 +09:00
peak_canfd can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path 2021-06-24 08:40:10 +02:00
rcar can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive 2022-11-03 23:59:20 +09:00
sja1000 can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev() 2022-12-08 11:28:40 +01:00
softing can: softing: softing_startstop(): fix set but not used variable warning 2022-01-27 11:04:01 +01:00
spi can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path 2022-11-03 23:59:17 +09:00
usb can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct 2024-07-18 13:07:33 +02:00
at91_can.c net: at91_can: fix the comments style issue 2021-07-25 11:36:27 +02:00
flexcan.c can: flexcan: flexcan_mailbox_read() fix return value for drop = true 2022-09-28 11:11:44 +02:00
grcan.c can: grcan: grcan_probe(): remove extra of_node_get() 2022-07-12 16:34:48 +02:00
janz-ican3.c can: janz-ican3: use DEVICE_ATTR_RO/RW() helper macro 2021-07-25 11:36:26 +02:00
Kconfig can: flexcan: update Kconfig to enable coldfire 2021-07-25 11:36:29 +02:00
kvaser_pciefd.c can: kvaser_pciefd: Disable interrupts in probe error path 2023-05-24 17:36:54 +01:00
led.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile can: dev: move driver related infrastructure into separate subdir 2021-01-13 09:42:58 +01:00
pch_can.c can: pch_can: pch_can_error(): initialize errc before using it 2022-08-17 14:23:33 +02:00
slcan.c tty: no checking of tty_unregister_ldisc 2021-05-13 16:57:17 +02:00
sun4i_can.c can: sun4i_can: do not report txerr and rxerr during bus-off 2022-08-17 14:23:33 +02:00
ti_hecc.c can: rx-offload: add skb queue for use during ISR 2021-07-25 11:36:25 +02:00
vcan.c net: introduce CAN specific pointer in the struct net_device 2021-02-24 14:32:15 -08:00
vxcan.c net: validate veth and vxcan peer ifindexes 2023-08-30 16:18:14 +02:00
xilinx_can.c Revert "can: xilinx_can: Limit CANFD brp to 2" 2022-07-21 21:24:40 +02:00