• Dave Jones's avatar
    [CPUFREQ] Geode register fixes. · 690c11be
    Dave Jones authored
    From: Hiroshi Miura <miura at da-cha.org>
                                                                                                            
    I mistook a Geode chipset's register meanings. (-.-;
    ON is not 'CPU is ON' but 'cpu modulation is ON' that is stops cpu.
                                                                                                                   
    this causes a bad freq setting.
                                                                                                                   
    This patch fixes this and minor bug that is,
                                                                                                                   
            if (new_khz == stock_freq) {  /* if new khz == 100% of CPU speed, it is special case */
                    local_irq_save(flags);
                    cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
                                                                                                                   
    cpufreq_notify_transition() called after local_irq_save();
    this makes not update cpu_khz.
    690c11be
gx-suspmod.c 15.5 KB