net: mvpp2: fix missing switch case break
authorBen Peled <bpeled@marvell.com>
Mon, 3 May 2021 06:08:51 +0000 (08:08 +0200)
committerStefan Roese <sr@denx.de>
Thu, 20 May 2021 11:03:30 +0000 (13:03 +0200)
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>
drivers/net/mvpp2.c

index 61a0ea0894a73dd6493354ccc8fe8f6aefe02257..3d920e85ffefc16814efe6086d06354c2798abf0 100644 (file)
@@ -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: