On 4 April 2014 13:17, Daniel Lezcano daniel.lezcano@linaro.org wrote:
One more step is moving the clock ratio setting at idle time in pm.c
The macro names have been changed to be consistent with the other macros name in the file.
Note, the clock divider was working only when cpuidle was enabled because it was in its init routine. With this change, the clock divider is set in the pm's init routine, so it will also operate when the cpuidle driver is not set, which is good.
Signed-off-by: Daniel Lezcano daniel.lezcano@linaro.org
arch/arm/mach-exynos/cpuidle.c | 54 --------------------------------------- arch/arm/mach-exynos/pm.c | 55 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 55 deletions(-)
Reviewed-by: Viresh Kumar viresh.kumar@linaro.org