can: ifi: Fix transmitter delay calculation
authorMarek Vasut <marex@denx.de>
Fri, 10 Nov 2017 10:22:39 +0000 (11:22 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 10 Nov 2017 10:35:09 +0000 (11:35 +0100)
commit4f7116757b4bd99e4ef2636c7d957a6d63035d11
tree646683ff5425c5687d2c747e454a8567f972b4f6
parent4cbdd0ee67191481ec57ceed94febdfef95c9f25
can: ifi: Fix transmitter delay calculation

The CANFD transmitter delay calculation formula was updated in the
latest software drop from IFI and improves the behavior of the IFI
CANFD core during bitrate switching. Use the new formula to improve
stability of the CANFD operation.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Markus Marb <markus@marb.org>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ifi_canfd/ifi_canfd.c