• D
    ARM: at91: cpuidle: Fix target_residency · a008dad7
    Daniel Lezcano 提交于
    The following commit:
    
    commit 7e348b90
    Author: Robert Lee <rob.lee@linaro.org>
    Date:   Tue Mar 20 15:22:43 2012 -0500
    
        ARM: at91: Consolidate time keeping and irq enable
    
        Enable core cpuidle timekeeping and irq enabling and remove that
        handling from this code.
    
    introduced an additional zero to the state1 (suspend) target residency.
    
    With a periodic tick, the cpu never enters the state1 with both 10000 and
    100000.
    
    With a tickless system, it enters to state1 much more often with the
    initial value, roughly x7 more.
    
    Fix it by setting the value to 10ms again.
    Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
    [nicola.ferre@atmel.com: add precisions given by Daniel to commit message]
    Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
    a008dad7
cpuidle.c 1.6 KB