• Marek Vasut's avatar
    can: ifi: Fix TX DLC configuration · f1deaee0
    Marek Vasut authored
    
    
    The TX DLC, the transmission length information, was not written
    into the transmit configuration register. When using the CAN core
    with different CAN controller, the receiving CAN controller will
    receive only the ID part of the CAN frame, but no data at all.
    
    This patch adds the TX DLC into the register to fix this issue.
    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>
    Reviewed-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    f1deaee0
ifi_canfd.c 23.9 KB