]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: allow cpufreq_generic_suspend() to work without suspend frequency
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 8 Sep 2015 16:41:02 +0000 (18:41 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Sep 2015 00:22:55 +0000 (02:22 +0200)
commit749e70b7237c52fb4dd0e495814c3eff14d4c45e
tree7f25fd80a0562e3e80d370b873d86c149e69c3e1
parentc37556123abea8adcba36c70f8f783e47ef58033
cpufreq: allow cpufreq_generic_suspend() to work without suspend frequency

Some cpufreq drivers may set suspend frequency only for
selected setups but still would like to use the generic
suspend handler.  Thus don't treat !policy->suspend_freq
condition as an incorrect one.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c