diff mbox

[U-Boot,1/2] ARM: uniphier: remove unneeded mdelay(1) in PLL setting function

Message ID 1476862011-17643-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit dd39ee8a545132431b6441135c707e2c49317f8b
Delegated to: Masahiro Yamada
Headers show

Commit Message

Masahiro Yamada Oct. 19, 2016, 7:26 a.m. UTC
This delay is already cared by the callers of this function.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/mach-uniphier/clk/pll-base-ld20.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Masahiro Yamada Oct. 29, 2016, 8:18 a.m. UTC | #1
2016-10-19 16:26 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> This delay is already cared by the callers of this function.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---


Applied to u-boot-uniphier/master.
diff mbox

Patch

diff --git a/arch/arm/mach-uniphier/clk/pll-base-ld20.c b/arch/arm/mach-uniphier/clk/pll-base-ld20.c
index a5027d2..caa631d 100644
--- a/arch/arm/mach-uniphier/clk/pll-base-ld20.c
+++ b/arch/arm/mach-uniphier/clk/pll-base-ld20.c
@@ -67,8 +67,6 @@  int uniphier_ld20_sscpll_ssc_en(unsigned long reg_base)
 	if (!base)
 		return -ENOMEM;
 
-	mdelay(1);
-
 	tmp = readl(base);	/* SSCPLLCTRL */
 	tmp |= SC_PLLCTRL_SSC_EN;
 	writel(tmp, base);