Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1295966
| From | Jon Hunter <jonathanh@nvidia.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] clk: tegra: Use definition for pll_u override bit |
| Date | 2015-12-21 14:00 +0100 |
| Message-ID | <qI8ed-6Cx-7@gated-at.bofh.it> (permalink) |
| References | <qI8ed-6Cx-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The definition, PLLU_BASE_OVERRIDE, for the pll_u OVERRIDE bit is defined
but not used and when the OVERRIDE bit is cleared in tegra210_pll_init()
the code directly uses the bit number. Therefore, use the definition,
PLLU_BASE_OVERRIDE when clearing the OVERRIDE bit.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
drivers/clk/tegra/clk-tegra210.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c
index 791215747863..6f043c5e2394 100644
--- a/drivers/clk/tegra/clk-tegra210.c
+++ b/drivers/clk/tegra/clk-tegra210.c
@@ -2520,7 +2520,7 @@ static void __init tegra210_pll_init(void __iomem *clk_base,
/* PLLU_VCO */
val = readl(clk_base + pll_u_vco_params.base_reg);
- val &= ~BIT(24); /* disable PLLU_OVERRIDE */
+ val &= ~PLLU_BASE_OVERRIDE; /* disable PLLU_OVERRIDE */
writel(val, clk_base + pll_u_vco_params.base_reg);
clk = tegra_clk_register_pllre("pll_u_vco", "pll_ref", clk_base, pmc,
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] clk: tegra: Fix warning caused by pll_u failing to lock Jon Hunter <jonathanh@nvidia.com> - 2015-12-21 14:00 +0100
[PATCH 2/2] clk: tegra: Use definition for pll_u override bit Jon Hunter <jonathanh@nvidia.com> - 2015-12-21 14:00 +0100
Re: [PATCH 2/2] clk: tegra: Use definition for pll_u override bit Rhyland Klein <rklein@nvidia.com> - 2015-12-21 17:40 +0100
Re: [PATCH 1/2] clk: tegra: Fix warning caused by pll_u failing to lock Rhyland Klein <rklein@nvidia.com> - 2015-12-21 17:40 +0100
csiph-web