• Marek Vasut's avatar
    net: can: ifi: Configure transmitter delay · 8d58790b
    Marek Vasut authored
    
    
    Configure the transmitter delay register at +0x1c to correctly handle
    the CAN FD bitrate switch (BRS). This moves the SSP (secondary sample
    point) to a proper offset, so that the TDC mechanism works and won't
    generate error frames on the CAN link.
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Marc Kleine-Budde <mkl@pengutronix.de>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Oliver Hartkopp <socketcan@hartkopp.net>
    Cc: Wolfgang Grandegger <wg@grandegger.com>
    Cc: linux-stable <stable@vger.kernel.org>
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    8d58790b
ifi_canfd.c 28.6 KB