From patchwork Wed Oct 19 07:26:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 78199 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp107244qge; Wed, 19 Oct 2016 00:27:02 -0700 (PDT) X-Received: by 10.28.147.6 with SMTP id v6mr3814843wmd.3.1476862022162; Wed, 19 Oct 2016 00:27:02 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id az9si52547017wjb.294.2016.10.19.00.27.00; Wed, 19 Oct 2016 00:27:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 45E77A7549; Wed, 19 Oct 2016 09:27:00 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52dJQK9RhyW1; Wed, 19 Oct 2016 09:27:00 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 15D44A7581; Wed, 19 Oct 2016 09:26:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EEF1EA7549 for ; Wed, 19 Oct 2016 09:25:05 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R12ySRZ-D1V4 for ; Wed, 19 Oct 2016 09:24:51 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by theia.denx.de (Postfix) with ESMTPS id A5F90A752D for ; Wed, 19 Oct 2016 09:24:32 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id u9J7OOx5005814; Wed, 19 Oct 2016 16:24:24 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com u9J7OOx5005814 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1476861864; bh=PbZe00xKzIrhyCiS4whDLnLHwzhyQvFiYfwyEg9j0IM=; h=From:To:Cc:Subject:Date:From; b=xAu4fF11EW306GwxDQ+pM3aRh8VRhsfxJbxEZcokeDLbB72tn/e+mG6Ghp9meMkR4 7tOKpJPM1rCGvMiZE+grZ5Gzacqdaix7q9dPIFJbDjxxLfs6DqnvPyPG8hotP2OsAx B/Mp0fZExdVU+JWQfPjf3QSVYNtypSdfJf3RJNrsiHgQgwWPXW4KI24CAE/cs5NvgE tYwT5em9gSWvowX6jIoQMSIpQHsD7KXq1VRyfWZqIkS2RakNAJUhinPLM0poFDqufO OBnQQiyShcppM9Vlk8B6w+ib9cX/iPBESG/jw8xAnUTuO06NEFRePgRHsW1NA5vopL jSKKOsVOw6nfA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 19 Oct 2016 16:26:49 +0900 Message-Id: <1476862011-17643-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Cc: Albert Aribaud Subject: [U-Boot] [PATCH 1/2] ARM: uniphier: remove unneeded mdelay(1) in PLL setting function X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This delay is already cared by the callers of this function. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/pll-base-ld20.c | 2 -- 1 file changed, 2 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot 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);