• Marek Vasut's avatar
    can: ifi: Check core revision upon probe · 591d65d5
    Marek Vasut authored
    Older versions of the core are not compatible with the driver due
    to various intrusive fixes of the core. Read out the VER register,
    check the core revision bitfield and verify if the core in use is
    new enough (rev 2.1 or newer) to work correctly with this driver.
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Heiko Schocher <hs@denx.de>
    Cc: Markus Marb <markus@marb.org>
    Cc: Marc Kleine-Budde <mkl@pengutronix.de>
    Cc: linux-stable <stable@vger.kernel.org>
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    591d65d5
ifi_canfd.c 28.9 KB