Skip to content

Commit 470e14c

Browse files
Jimmy Assarssonmarckleinebudde
authored andcommitted
can: kvaser_pciefd: Fix KCAN bittiming limits
Use correct bittiming limits for the KCAN CAN controller. Fixes: 26ad340 ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices") Signed-off-by: Jimmy Assarsson <extja@kvaser.com> Link: https://lore.kernel.org/r/20201115163027.16851-1-jimmyassarsson@gmail.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent c09c8a2 commit 470e14c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/can/kvaser_pciefd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,12 @@ struct kvaser_pciefd_tx_packet {
287287
static const struct can_bittiming_const kvaser_pciefd_bittiming_const = {
288288
.name = KVASER_PCIEFD_DRV_NAME,
289289
.tseg1_min = 1,
290-
.tseg1_max = 255,
290+
.tseg1_max = 512,
291291
.tseg2_min = 1,
292292
.tseg2_max = 32,
293293
.sjw_max = 16,
294294
.brp_min = 1,
295-
.brp_max = 4096,
295+
.brp_max = 8192,
296296
.brp_inc = 1,
297297
};
298298

0 commit comments

Comments
 (0)