summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2017-03-27 14:01:05 +0300
committerThierry Reding <treding@nvidia.com>2017-04-04 17:06:05 +0300
commit1116d5a7aff205b6d9879a6458788cac20d0cdf3 (patch)
treee8e46d7552b6e3daa969acc4060a7b52c6c96d23 /drivers/reset
parent88da44c5edb93d58f704fb9ea21962ca357d06a1 (diff)
downloadlinux-1116d5a7aff205b6d9879a6458788cac20d0cdf3.tar.xz
clk: tegra: Don't reset PLL-CX if it is already enabled
Commit 8dce89a1c2cf ("clk: tegra: Don't warn for PLL defaults unnecessarily") changed the tegra210_pllcx_set_defaults() function causing the PLL to always be reset regardless of whether it is in-use. This function was changed so that resetting of the PLL will only be skipped if the PLL is enabled AND 'pllcx->params->defaults_set' is not true. However, the 'pllcx->params->defaults_set' is always true and hence, the PLL is now always reset. This causes the boot to fail on the Tegra210 Smaug where the PLL is already enabled and in-use. Fix this by only resetting the PLL if not in-use and only printing the warning that the defaults are not set after we have checked the default settings. Fixes: 8dce89a1c2cf ("clk: tegra: Don't warn for PLL defaults unnecessarily") Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions