Revert "can: xilinx_can: Limit CANFD brp to 2"
[ Upstream commitc6da4590fe] This reverts commit05ca14fdb6. 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
35ce2c64e5
commit
54bf0b8c75
@@ -259,7 +259,7 @@ static const struct can_bittiming_const xcan_bittiming_const_canfd2 = {
|
|||||||
.tseg2_min = 1,
|
.tseg2_min = 1,
|
||||||
.tseg2_max = 128,
|
.tseg2_max = 128,
|
||||||
.sjw_max = 128,
|
.sjw_max = 128,
|
||||||
.brp_min = 2,
|
.brp_min = 1,
|
||||||
.brp_max = 256,
|
.brp_max = 256,
|
||||||
.brp_inc = 1,
|
.brp_inc = 1,
|
||||||
};
|
};
|
||||||
@@ -272,7 +272,7 @@ static const struct can_bittiming_const xcan_data_bittiming_const_canfd2 = {
|
|||||||
.tseg2_min = 1,
|
.tseg2_min = 1,
|
||||||
.tseg2_max = 16,
|
.tseg2_max = 16,
|
||||||
.sjw_max = 16,
|
.sjw_max = 16,
|
||||||
.brp_min = 2,
|
.brp_min = 1,
|
||||||
.brp_max = 256,
|
.brp_max = 256,
|
||||||
.brp_inc = 1,
|
.brp_inc = 1,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user