]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: Remove improper flags for lock_enable
authorRhyland Klein <rklein@nvidia.com>
Thu, 14 Jan 2016 19:24:31 +0000 (14:24 -0500)
committerThierry Reding <treding@nvidia.com>
Mon, 25 Jan 2016 12:56:30 +0000 (13:56 +0100)
commit58a20d8e981687e05ec3fe95369672d68faf49a0
tree30992f70579cb4fedf909f96f557e5b9c9098410
parent3d3cbaabb8917c62e96204f0fa48cf985fb27101
clk: tegra: Remove improper flags for lock_enable

Most PLL's don't actually have LOCK_ENABLE bits. However, most PLL's
also had that flag set, which meant that the clk code was trying to
enable locks, and inadvertantly flipping bits in other fields.

For PLLM, ensure the correct register is used for the misc_register.
PLL_MISC0 contains the EN_LCKDET bit which should be used for enabling
the lock, and PLLM_MISC1 shouldn't be used at all.

Lastly, remove some of the settings which would point to the EN_LCKDET
bits for some PLLs. There is no need to enable the locks, and that is
done as part of the set_defaults logic already.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra210.c