ARM: S3C64XX: Reduce residency requirement for cpuidle WFI mode
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Dec 2011 00:41:56 +0000 (09:41 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 10 Feb 2012 23:02:43 +0000 (08:02 +0900)
Entering and leaving WFI is really cheap so there's no reason to have much
of a residency requirement for the state. Lower it to 1ms.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/cpuidle.c

index 625d2c7..179460f 100644 (file)
@@ -55,7 +55,7 @@ static struct cpuidle_state s3c64xx_cpuidle_set[] = {
        [0] = {
                .enter                  = s3c64xx_enter_idle,
                .exit_latency           = 1,
-               .target_residency       = 100000,
+               .target_residency       = 1,
                .flags                  = CPUIDLE_FLAG_TIME_VALID,
                .name                   = "IDLE",
                .desc                   = "System active, ARM gated",