Skip to content
  • Robin Gong's avatar
    ENGR00234217 cpufreq:fix loops_per_jiffy wrong on new suspend flow of cpufreq · f7df0060
    Robin Gong authored
    
    
    Currently, we use pm_notifier to enter suspend/resume flow. But in the notifier
    we only set cpufreq, didn't tell CPUFREQ core what the current cpufreq setting
    now. So in the next time if CPUFREQ core find the current cpu frequncy is not
    the value that CPUFREQ core want to set before. CPUFREQ core will force to set
    the freqs.old with its own rule, which means the freqs.old will be MODIFYED
    unexpectedly, and this will cause wrong loops_per_jiffy. We need add cpufreq_
    notify_transition in the suspend/resume interface of cpufreq.
    
    Signed-off-by: default avatarRobin Gong <b38343@freescale.com>
    f7df0060