net: dsa: seville: don't write to MEM_ENA twice
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 18 Sep 2020 10:57:44 +0000 (13:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 00:52:40 +0000 (17:52 -0700)
There is another one of these right above the readx_poll_status.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/seville_vsc9953.c

index 2d6a5f5..360df76 100644 (file)
@@ -847,7 +847,6 @@ static int vsc9953_reset(struct ocelot *ocelot)
        }
 
        /* enable switch core */
-       ocelot_field_write(ocelot, SYS_RESET_CFG_MEM_ENA, 1);
        ocelot_field_write(ocelot, SYS_RESET_CFG_CORE_ENA, 1);
 
        return 0;