Commit 470e14c0 authored by Jimmy Assarsson's avatar Jimmy Assarsson Committed by Marc Kleine-Budde

can: kvaser_pciefd: Fix KCAN bittiming limits

Use correct bittiming limits for the KCAN CAN controller.

Fixes: 26ad340e ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
Signed-off-by: default avatarJimmy Assarsson <extja@kvaser.com>
Link: https://lore.kernel.org/r/20201115163027.16851-1-jimmyassarsson@gmail.comSigned-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent c09c8a27
...@@ -287,12 +287,12 @@ struct kvaser_pciefd_tx_packet { ...@@ -287,12 +287,12 @@ struct kvaser_pciefd_tx_packet {
static const struct can_bittiming_const kvaser_pciefd_bittiming_const = { static const struct can_bittiming_const kvaser_pciefd_bittiming_const = {
.name = KVASER_PCIEFD_DRV_NAME, .name = KVASER_PCIEFD_DRV_NAME,
.tseg1_min = 1, .tseg1_min = 1,
.tseg1_max = 255, .tseg1_max = 512,
.tseg2_min = 1, .tseg2_min = 1,
.tseg2_max = 32, .tseg2_max = 32,
.sjw_max = 16, .sjw_max = 16,
.brp_min = 1, .brp_min = 1,
.brp_max = 4096, .brp_max = 8192,
.brp_inc = 1, .brp_inc = 1,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment