Skip to content

Commit 2483ba7

Browse files
Srinivas Neeligregkh
authored andcommitted
Revert "can: xilinx_can: Limit CANFD brp to 2"
[ Upstream commit c6da459 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent bd87cf2 commit 2483ba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/can/xilinx_can.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static const struct can_bittiming_const xcan_bittiming_const_canfd2 = {
259259
.tseg2_min = 1,
260260
.tseg2_max = 128,
261261
.sjw_max = 128,
262-
.brp_min = 2,
262+
.brp_min = 1,
263263
.brp_max = 256,
264264
.brp_inc = 1,
265265
};
@@ -272,7 +272,7 @@ static const struct can_bittiming_const xcan_data_bittiming_const_canfd2 = {
272272
.tseg2_min = 1,
273273
.tseg2_max = 16,
274274
.sjw_max = 16,
275-
.brp_min = 2,
275+
.brp_min = 1,
276276
.brp_max = 256,
277277
.brp_inc = 1,
278278
};

0 commit comments

Comments
 (0)