]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
can: mcp251xfd: update errata references
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 5 May 2024 12:40:10 +0000 (14:40 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 28 Jun 2024 21:48:11 +0000 (23:48 +0200)
Since the errata references have been added to the driver, new errata
sheets have been published. Update the references for the mcp2517fd
and mcp2518fd. For completeness add references for the mcp251863.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c

index 61e749f976507affed873292dc7ac1e6b5064e56..ce1610f240a4d9450fbd9cd23fa4ba943aa340f8 100644 (file)
@@ -1135,7 +1135,7 @@ mcp251xfd_handle_modif(const struct mcp251xfd_priv *priv, bool *set_normal_mode)
                return 0;
        }
 
-       /* According to MCP2517FD errata DS80000792B 1., during a TX
+       /* According to MCP2517FD errata DS80000792C 1., during a TX
         * MAB underflow, the controller will transition to Restricted
         * Operation Mode or Listen Only Mode (depending on SERR2LOM).
         *
@@ -1180,7 +1180,7 @@ static int mcp251xfd_handle_serrif(struct mcp251xfd_priv *priv)
 
        /* TX MAB underflow
         *
-        * According to MCP2517FD Errata DS80000792B 1. a TX MAB
+        * According to MCP2517FD Errata DS80000792C 1. a TX MAB
         * underflow is indicated by SERRIF and MODIF.
         *
         * In addition to the effects mentioned in the Errata, there
@@ -1224,7 +1224,7 @@ static int mcp251xfd_handle_serrif(struct mcp251xfd_priv *priv)
 
        /* RX MAB overflow
         *
-        * According to MCP2517FD Errata DS80000792B 1. a RX MAB
+        * According to MCP2517FD Errata DS80000792C 1. a RX MAB
         * overflow is indicated by SERRIF.
         *
         * In addition to the effects mentioned in the Errata, (most
@@ -1331,7 +1331,8 @@ mcp251xfd_handle_eccif(struct mcp251xfd_priv *priv, bool set_normal_mode)
                return err;
 
        /* Errata Reference:
-        * mcp2517fd: DS80000789B, mcp2518fd: DS80000792C 2.
+        * mcp2517fd: DS80000789C 3., mcp2518fd: DS80000792E 2.,
+        * mcp251863: DS80000984A 2.
         *
         * ECC single error correction does not work in all cases:
         *
@@ -2095,7 +2096,8 @@ static int mcp251xfd_probe(struct spi_device *spi)
        priv->devtype_data = *(struct mcp251xfd_devtype_data *)spi_get_device_match_data(spi);
 
        /* Errata Reference:
-        * mcp2517fd: DS80000792C 5., mcp2518fd: DS80000789C 4.
+        * mcp2517fd: DS80000792C 5., mcp2518fd: DS80000789E 4.,
+        * mcp251863: DS80000984A 4.
         *
         * The SPI can write corrupted data to the RAM at fast SPI
         * speeds: