Message ID | 1608462149-1702-1-git-send-email-stefanc@marvell.com |
---|---|
State | New |
Headers | show |
Series | [net,v4] net: mvpp2: Fix GoP port 3 Networking Complex Control configurations | expand |
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sun, 20 Dec 2020 13:02:29 +0200 you wrote: > From: Stefan Chulski <stefanc@marvell.com> > > During GoP port 2 Networking Complex Control mode of operation configurations, > also GoP port 3 mode of operation was wrongly set. > Patch removes these configurations. > > Fixes: f84bf386f395 ("net: mvpp2: initialize the GoP") > Acked-by: Marcin Wojtas <mw@semihalf.com> > Signed-off-by: Stefan Chulski <stefanc@marvell.com> > > [...] Here is the summary with links: - [net,v4] net: mvpp2: Fix GoP port 3 Networking Complex Control configurations https://git.kernel.org/netdev/net/c/2575bc1aa9d5 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c index d64dc12..82c6bef 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -1231,7 +1231,7 @@ static void mvpp22_gop_init_rgmii(struct mvpp2_port *port) regmap_read(priv->sysctrl_base, GENCONF_CTRL0, &val); if (port->gop_id == 2) - val |= GENCONF_CTRL0_PORT0_RGMII | GENCONF_CTRL0_PORT1_RGMII; + val |= GENCONF_CTRL0_PORT0_RGMII; else if (port->gop_id == 3) val |= GENCONF_CTRL0_PORT1_RGMII_MII; regmap_write(priv->sysctrl_base, GENCONF_CTRL0, val);