]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: tegra: Don't enable already enabled PLLs
authorDmitry Osipenko <digetx@gmail.com>
Fri, 19 Apr 2019 11:42:26 +0000 (14:42 +0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 19 Apr 2019 22:14:19 +0000 (15:14 -0700)
commitbff1cef5f23afbe49f5ebd766980dc612f5e9d0a
tree1bb8182626caf7d198f9891d55380267458dc4a2
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
clk: tegra: Don't enable already enabled PLLs

Initially Common Clock Framework isn't aware of the clock-enable status,
this results in enabling of clocks that were enabled by bootloader. This
is not a big deal for a regular clock-gates, but for PLL's it may have
some unpleasant consequences. Thus re-enabling PLLX (the main CPU parent
clock) may result in extra long period of PLL re-locking.

Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-pll.c