summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBen Peled <[email protected]>2021-05-03 08:08:51 +0200
committerStefan Roese <[email protected]>2021-05-20 13:03:30 +0200
commitd757c859c758330bccf460d6c192109fc94b1443 (patch)
treea521622c13f115534e7fecd225a3c866887a2442 /drivers
parentcf51a0d5fce0f040748365aa6f3eb9a5b70884ea (diff)
net: mvpp2: fix missing switch case break
Signed-off-by: Ben Peled <[email protected]> Reviewed-by: Stefan Chulski <[email protected]> Reviewed-by: Kostya Porotchkin <[email protected]> Signed-off-by: Stefan Roese <[email protected]> Reviewed-by: Ramon Fried <[email protected]>
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: