[U-Boot] [PATCH 3/5] aspeed: ast2500: fix missing break in D2PLL clock enablement

Cédric Le Goater clg at kaod.org
Mon Sep 10 14:21:46 UTC 2018


Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
 drivers/clk/aspeed/clk_ast2500.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/aspeed/clk_ast2500.c b/drivers/clk/aspeed/clk_ast2500.c
index c55f8d5ae30d..169c330d3d41 100644
--- a/drivers/clk/aspeed/clk_ast2500.c
+++ b/drivers/clk/aspeed/clk_ast2500.c
@@ -423,6 +423,7 @@ static int ast2500_clk_enable(struct clk *clk)
 		break;
 	case PLL_D2PLL:
 		ast2500_configure_d2pll(priv->scu, D2PLL_DEFAULT_RATE);
+		break;
 	default:
 		return -ENOENT;
 	}
-- 
2.17.1



More information about the U-Boot mailing list