mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Acked-by: Dave Martin <[email protected]>
This commit is contained in:
parent
1c2c7d51c8
commit
7895f73169
4 changed files with 8 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue