]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: tegra: clock: Don't BUG on changing an enabled PLL
authorColin Cross <ccross@android.com>
Thu, 9 Sep 2010 02:41:58 +0000 (19:41 -0700)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 07:36:50 +0000 (23:36 -0800)
commita870f2d68b8b54bab354d50fd865c606d32aa43f
treec582a98713a64f76de87106675aa6061be3b0e3c
parente54e023f23afb02d0caa7b76feb3849bed395b75
ARM: tegra: clock: Don't BUG on changing an enabled PLL

When updating the CPU PLL frequency, keeping the PLL enabled avoids
ramping the PLL all the way down and back up again.  Remove the BUG_ON
in tegra2_pll_clk_set_rate to allow the rate to change while the PLL
is enabled.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/tegra2_clocks.c