Commit 6b6d804f authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

net: dsa: seville: don't write to MEM_ENA twice

There is another one of these right above the readx_poll_status.
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 75cea9cb
...@@ -847,7 +847,6 @@ static int vsc9953_reset(struct ocelot *ocelot) ...@@ -847,7 +847,6 @@ static int vsc9953_reset(struct ocelot *ocelot)
} }
/* enable switch core */ /* enable switch core */
ocelot_field_write(ocelot, SYS_RESET_CFG_MEM_ENA, 1);
ocelot_field_write(ocelot, SYS_RESET_CFG_CORE_ENA, 1); ocelot_field_write(ocelot, SYS_RESET_CFG_CORE_ENA, 1);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment