Skip to content

Commit c6da459

Browse files
Srinivas Neelimarckleinebudde
authored andcommitted
Revert "can: xilinx_can: Limit CANFD brp to 2"
This reverts commit 05ca14f. On early silicon engineering samples observed bit shrinking issue when we use brp as 1. Hence updated brp_min as 2. As in production silicon this issue is fixed, so reverting the patch. Link: https://lore.kernel.org/all/20220609082433.1191060-2-srinivas.neeli@xilinx.com Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent f1b4e32 commit c6da459

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/can/xilinx_can.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ static const struct can_bittiming_const xcan_bittiming_const_canfd2 = {
258258
.tseg2_min = 1,
259259
.tseg2_max = 128,
260260
.sjw_max = 128,
261-
.brp_min = 2,
261+
.brp_min = 1,
262262
.brp_max = 256,
263263
.brp_inc = 1,
264264
};
@@ -271,7 +271,7 @@ static const struct can_bittiming_const xcan_data_bittiming_const_canfd2 = {
271271
.tseg2_min = 1,
272272
.tseg2_max = 16,
273273
.sjw_max = 16,
274-
.brp_min = 2,
274+
.brp_min = 1,
275275
.brp_max = 256,
276276
.brp_inc = 1,
277277
};

0 commit comments

Comments
 (0)