diff options
author | Srinivas Neeli <srinivas.neeli@xilinx.com> | 2019-08-12 13:06:46 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 18:32:19 +0300 |
commit | 3e994ff28f867a20ae0dd055a5e4a4a34aad9c3c (patch) | |
tree | 18f208210455f94fc40cbfa2b4f284b81f8e3ea5 /net/can/af_can.h | |
parent | 9d06bcb9aa48dc4fc474dc8441a036bc4a090270 (diff) | |
download | linux-3e994ff28f867a20ae0dd055a5e4a4a34aad9c3c.tar.xz |
can: xilinx_can: xcan_set_bittiming(): fix the data phase btr1 calculation
While calculating bitrate for the data phase, the driver is using phase
segment 1 of the arbitration phase instead of the data phase.
Fixes: c223da6 ("can: xilinx_can: Add support for CANFD FD frames")
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Acked-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/af_can.h')
0 files changed, 0 insertions, 0 deletions