Skip to content

Commit dcc8c20

Browse files
Jimmy Assarssonmarckleinebudde
authored andcommitted
can: kvaser_usb: leaf: Assign correct timestamp_freq for kvaser_usb_leaf_imx_dev_cfg_{16,24,32}mhz
Assign correct timestamp_freq to kvaser_usb_leaf_imx_dev_cfg_{16,24,32}mhz. Since the driver didn't utilize the value, this didn't cause any problems. Signed-off-by: Jimmy Assarsson <[email protected]> Reviewed-by: Vincent Mailhol <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 8e78959 commit dcc8c20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,23 +483,23 @@ static const struct kvaser_usb_dev_cfg kvaser_usb_leaf_imx_dev_cfg_16mhz = {
483483
.clock = {
484484
.freq = 16 * MEGA /* Hz */,
485485
},
486-
.timestamp_freq = 1,
486+
.timestamp_freq = 16,
487487
.bittiming_const = &kvaser_usb_flexc_bittiming_const,
488488
};
489489

490490
static const struct kvaser_usb_dev_cfg kvaser_usb_leaf_imx_dev_cfg_24mhz = {
491491
.clock = {
492492
.freq = 24 * MEGA /* Hz */,
493493
},
494-
.timestamp_freq = 1,
494+
.timestamp_freq = 24,
495495
.bittiming_const = &kvaser_usb_flexc_bittiming_const,
496496
};
497497

498498
static const struct kvaser_usb_dev_cfg kvaser_usb_leaf_imx_dev_cfg_32mhz = {
499499
.clock = {
500500
.freq = 32 * MEGA /* Hz */,
501501
},
502-
.timestamp_freq = 1,
502+
.timestamp_freq = 32,
503503
.bittiming_const = &kvaser_usb_flexc_bittiming_const,
504504
};
505505

0 commit comments

Comments
 (0)