OSDN Git Service

clk: tegra: Use definition for pll_u override bit
authorJon Hunter <jonathanh@nvidia.com>
Mon, 21 Dec 2015 12:56:32 +0000 (12:56 +0000)
committerThierry Reding <treding@nvidia.com>
Tue, 2 Feb 2016 14:49:31 +0000 (15:49 +0100)
commit2d5b6cf84a1764aa9837128bc1e6fd53cb0bb9c1
treec25c1195f7fdf2813e21fafe3a1c582752861c09
parent0649c3232be5b647dba50e2f6d31fe1306913ab2
clk: tegra: Use definition for pll_u override bit

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>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra210.c