]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
ARM: tegra: clock: Fix clock issues in suspend
authorColin Cross <ccross@android.com>
Wed, 27 Oct 2010 00:33:31 +0000 (17:33 -0700)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 08:16:47 +0000 (00:16 -0800)
commitc2f44a9df9e1f8974911ef538565e301b38e0680
tree734b9169458a7372818152bd955d61027c0fe757
parent9743b38969790d33b077ab80b175ea63a0398703
ARM: tegra: clock: Fix clock issues in suspend

The PLLP registers are now being restored by the low-level resume code,
and the CPU may be running off PLLP, so don't touch them during clock
resume.

Save plld, plls, pllu, and audio clock during suspend (originally
fixed by Mayuresh Kulkarni <mkulkarni@nvidia.com>)

The lock time for plld is 1000 us, so increase the delay after
setting the PLLs.

Add a BUG_ON to ensure the size of the suspend context area is
correct.

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