mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
clk: tegra: Do not warn unnecessarily
There is no need to warn if the reference PLL is enabled with the correct defaults. Only warn if the boot values don't match the defaults. Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
0d34dfbf30
commit
2067507012
@ -995,8 +995,6 @@ static void tegra210_pllre_set_defaults(struct tegra_clk_pll *pllre)
|
||||
pllre->params->defaults_set = true;
|
||||
|
||||
if (val & PLL_ENABLE) {
|
||||
pr_warn("PLL_RE already enabled. Postponing set full defaults\n");
|
||||
|
||||
/*
|
||||
* PLL is ON: check if defaults already set, then set those
|
||||
* that can be updated in flight.
|
||||
@ -1023,6 +1021,9 @@ static void tegra210_pllre_set_defaults(struct tegra_clk_pll *pllre)
|
||||
writel_relaxed(val, clk_base + pllre->params->ext_misc_reg[0]);
|
||||
udelay(1);
|
||||
|
||||
if (!pllre->params->defaults_set)
|
||||
pr_warn("PLL_RE already enabled. Postponing set full defaults\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user