can: xilinx_can: Limit CANFD brp to 2
authorSrinivas Neeli <srinivas.neeli@xilinx.com>
Mon, 14 Sep 2020 08:49:56 +0000 (10:49 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 7 Oct 2020 21:18:34 +0000 (23:18 +0200)
commit05ca14fdb6fe65614e0652d03e44b02748d25af7
tree3ddd085ec334b85584b3640f965227a75fd87615
parentd9b081e3fc4bdc33e672dcb7bb256394909432fc
can: xilinx_can: Limit CANFD brp to 2

Bit enlarging is observed for CANFD2.0 when brp is 1,
So change brp_min value to 2.

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/bca871d7f3ca9c653d50e63c5b60028f2bdf3fb0.1600073396.git.michal.simek@xilinx.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c