ARM: 5975/1: AT91 slow-clock suspend: don't wait when turning PLLs off
authorAnders Larsen <al@alarsen.net>
Thu, 4 Mar 2010 10:22:53 +0000 (11:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 14 Apr 2010 10:08:43 +0000 (11:08 +0100)
commit317aa408d69a5b833a116317c18c7e957989ce44
tree3471e79c93b005a5f4028b89e2cd62cfb960175c
parent2ba3abd8186f24c7fb418927025b4e2120e3a362
ARM: 5975/1: AT91 slow-clock suspend: don't wait when turning PLLs off

From: Julien Langer <julien.langer@gmail.com>

AT91: when turning off the PLLs during suspend, don't wait for the lock
flag to be set. Previously the code would always run into the loop
limitation of 1000 iterations because the flag is never set when turning
the PLLs off.

Comments from Anders Larsen:

 (in http://marc.info/?l=linux-kernel&m=127058929724193&w=2)

Signed-off-by: Julien Langer <julien.langer@gmail.com>
Signed-off-by: Anders Larsen <al@alarsen.net>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/pm_slowclock.S