aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBen Peled2021-05-03 08:08:51 +0200
committerStefan Roese2021-05-20 13:03:30 +0200
commitd757c859c758330bccf460d6c192109fc94b1443 (patch)
treea521622c13f115534e7fecd225a3c866887a2442 /drivers
parentcf51a0d5fce0f040748365aa6f3eb9a5b70884ea (diff)
net: mvpp2: fix missing switch case break
Signed-off-by: Ben Peled <bpeled@marvell.com> Reviewed-by: Stefan Chulski <stefanc@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mvpp2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
index 61a0ea0894a..3d920e85ffe 100644
--- a/drivers/net/mvpp2.c
+++ b/drivers/net/mvpp2.c
@@ -3247,9 +3247,11 @@ static int gop_gmac_mode_cfg(struct mvpp2_port *port)
case PHY_INTERFACE_MODE_1000BASEX:
gop_gmac_1000basex_cfg(port);
+ break;
case PHY_INTERFACE_MODE_2500BASEX:
gop_gmac_2500basex_cfg(port);
+ break;
case PHY_INTERFACE_MODE_RGMII:
case PHY_INTERFACE_MODE_RGMII_ID: