[PATCH v1 08/10] net: mvpp2: fix missing switch case break

Stefan Roese sr at denx.de
Tue Apr 27 15:27:15 CEST 2021


From: Ben Peled <bpeled at marvell.com>

Signed-off-by: Ben Peled <bpeled at marvell.com>
Reviewed-by: Stefan Chulski <stefanc at marvell.com>
Reviewed-by: Kostya Porotchkin <kostap at marvell.com>
Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins at marvell.com>
Signed-off-by: Stefan Roese <sr at denx.de>
---

 drivers/net/mvpp2.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
index 61a0ea0894a7..3d920e85ffef 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:
-- 
2.31.1



More information about the U-Boot mailing list