Skip to content
  • Jean Pihet's avatar
    OMAP2+: disable idle early in the suspend sequence · c166381d
    Jean Pihet authored
    
    
    Some bad interaction between the idle and the suspend paths has been
    identified: the idle code is called during the suspend enter and exit
    sequences. This could cause corruption or lock-up of resources.
    
    The solution is to move the calls to disable_hlt at the very beginning
    of the suspend sequence (ex. in omap3_pm_begin instead of
    omap3_pm_prepare), and the call to enable_hlt at the very end of
    the suspend sequence (ex. in omap3_pm_end instead of omap3_pm_finish).
    
    Tested with RET and OFF on Beagle and OMAP3EVM.
    
    Signed-off-by: default avatarJean Pihet <j-pihet@ti.com>
    Cc: Kevin Hilman <khilman@deeprootsystems.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    c166381d