ARM: tegra: clock: Save and restore plld, plls, and pllu in suspend
authorColin Cross <ccross@android.com>
Tue, 11 Jan 2011 02:39:43 +0000 (18:39 -0800)
committerColin Cross <ccross@android.com>
Tue, 11 Jan 2011 02:56:11 +0000 (18:56 -0800)
commit08da711a7475bebdca5eec2d8b51751f380067a2
treecba222c993df3799c06e6a6e188cc66b56ee5492
parentf7120584faebeb1e3d907f4e18f61c3285db1f78
ARM: tegra: clock: Save and restore plld, plls, and pllu in suspend

HDMI was not working after LP0 because the plld were being reset
during suspend.  plls and pllu were also not being saved.  Add
all three to tegra_clk_suspend.

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.

Originally fixed by Mayuresh Kulkarni.

Original-author: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Change-Id: I50a3e994c6e3cab5989aa7a8e26e7a2eb66b6dfb
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/tegra2_clocks.c