]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Implement cpufreq_generic_suspend()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 4 Mar 2014 03:00:27 +0000 (11:00 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 6 Mar 2014 14:04:12 +0000 (15:04 +0100)
commit32eb3c368d4a3b9835d706eb3e99fb6d83ff8916
tree1391897d0eefb9464ec762538f8f7307079192f1
parent17f91baa5e659793f620908c4b61a87d5e6bd5b5
cpufreq: Implement cpufreq_generic_suspend()

Multiple platforms need to set CPUs to a particular frequency before
suspending the system, so provide a common infrastructure for them.

Those platforms only need to point their ->suspend callback pointers
to the generic routine.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h