summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2018-10-29 07:06:37 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2018-11-05 10:41:57 -0600
commit64ae8234175a6246ec0db709559ada88a0f6787a (patch)
tree4310baa1307c85ae1cded76dc36a51c2a7cb8e90 /drivers
parent1c0c61e9279e27822db4e30d3a4021ec384f2736 (diff)
downloadu-boot-64ae8234175a6246ec0db709559ada88a0f6787a.tar.gz
u-boot-64ae8234175a6246ec0db709559ada88a0f6787a.tar.bz2
u-boot-64ae8234175a6246ec0db709559ada88a0f6787a.zip
aspeed: ast2500: fix missing break in D2PLL clock enablement
Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/aspeed/clk_ast2500.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/aspeed/clk_ast2500.c b/drivers/clk/aspeed/clk_ast2500.c
index 526470051c..2182320f60 100644
--- a/drivers/clk/aspeed/clk_ast2500.c
+++ b/drivers/clk/aspeed/clk_ast2500.c
@@ -411,6 +411,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;
}