diff mbox series

[V2,1/2] Revert "can: xilinx_can: Limit CANFD brp to 2"

Message ID 20220607085654.4178-2-srinivas.neeli@xilinx.com (mailing list archive)
State New, archived
Headers show
Series xilinx_can: Update on xilinx can | expand

Commit Message

Srinivas Neeli June 7, 2022, 8:56 a.m. UTC
This reverts commit 05ca14fdb6fe65614e0652d03e44b02748d25af7.

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.

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
---
 drivers/net/can/xilinx_can.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Marc Kleine-Budde June 7, 2022, 9:09 a.m. UTC | #1
On 07.06.2022 14:26:53, Srinivas Neeli wrote:
> This reverts commit 05ca14fdb6fe65614e0652d03e44b02748d25af7.
> 
> 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.
> 
> Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>

Should this be applied to -stable?

Marc
diff mbox series

Patch

diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c
index 8a3b7b103ca4..e179d311aa28 100644
--- a/drivers/net/can/xilinx_can.c
+++ b/drivers/net/can/xilinx_can.c
@@ -258,7 +258,7 @@  static const struct can_bittiming_const xcan_bittiming_const_canfd2 = {
 	.tseg2_min = 1,
 	.tseg2_max = 128,
 	.sjw_max = 128,
-	.brp_min = 2,
+	.brp_min = 1,
 	.brp_max = 256,
 	.brp_inc = 1,
 };
@@ -271,7 +271,7 @@  static const struct can_bittiming_const xcan_data_bittiming_const_canfd2 = {
 	.tseg2_min = 1,
 	.tseg2_max = 16,
 	.sjw_max = 16,
-	.brp_min = 2,
+	.brp_min = 1,
 	.brp_max = 256,
 	.brp_inc = 1,
 };