• Colin Cross's avatar
    ARM: tegra: clock: Fix clock issues in suspend · c2f44a9d
    Colin Cross authored
    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: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarColin Cross <ccross@android.com>
    c2f44a9d
tegra2_clocks.c 62.9 KB