Re: [PATCH v2 20/21] ARM: tegra: clock: Fix clock issues in suspend

From: Olof Johansson
Date: Sun Feb 20 2011 - 23:28:18 EST


On Sat, Feb 19, 2011 at 2:26 PM, Colin Cross <ccross@xxxxxxxxxxx> wrote:
> 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@xxxxxxxxxx>)
>
> 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.

It's a bummer that this can't be done (easily) at build time, it'd be
more useful. Oh well, still good to catch at runtime at least.


> Signed-off-by: Colin Cross <ccross@xxxxxxxxxxx>

Acked-by: Olof Johansson <olof@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/