[PATCH 13/17] ARM: exynos: cpuidle: Move clock setup to pm.c

Viresh Kumar viresh.kumar at linaro.org
Fri Apr 4 02:05:04 PDT 2014


On 4 April 2014 13:17, Daniel Lezcano <daniel.lezcano at 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 at 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 at linaro.org>



More information about the linux-arm-kernel mailing list