summaryrefslogtreecommitdiff
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2015-04-28 15:51:19 -0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2015-05-06 11:47:10 -0400
commit7895f73169ade9a74940ae6b0b4ee82faf286861 (patch)
tree77b2a86217062942a1a78c9aca722b5e6f707295 /drivers/cpuidle
parent1c2c7d51c8101ab3c5d8585713d2dcd52d77d33e (diff)
downloadlwn-7895f73169ade9a74940ae6b0b4ee82faf286861.tar.gz
lwn-7895f73169ade9a74940ae6b0b4ee82faf286861.zip
ARM: MCPM: remove residency argument from mcpm_cpu_suspend()
This is currently unused. If a suspend must be limited to CPU level only by preventing the last man from triggering a cluster level suspend then this should be determined according to many other criteria the MCPM layer is currently not aware of. It is unlikely that mcpm_cpu_suspend() would be the proper conduit for that information anyway. Signed-off-by: Nicolas Pitre <nico@linaro.org> Acked-by: Dave Martin <Dave.Martin@arm.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle-big_little.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle/cpuidle-big_little.c
index 40c34faffe59..db2ede565f1a 100644
--- a/drivers/cpuidle/cpuidle-big_little.c
+++ b/drivers/cpuidle/cpuidle-big_little.c
@@ -108,13 +108,7 @@ static int notrace bl_powerdown_finisher(unsigned long arg)
unsigned int cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0);
mcpm_set_entry_vector(cpu, cluster, cpu_resume);
-
- /*
- * Residency value passed to mcpm_cpu_suspend back-end
- * has to be given clear semantics. Set to 0 as a
- * temporary value.
- */
- mcpm_cpu_suspend(0);
+ mcpm_cpu_suspend();
/* return value != 0 means failure */
return 1;