diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-01 08:57:44 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-02 09:10:48 -0400 |
commit | fd143b4d6fb763183ef6e46d1ab84a42c59079af (patch) | |
tree | 2a0a45844d1ef74740b344b2ed5158a1d6fd4841 /include/linux/cpufreq.h | |
parent | 746b3df98b2edc0e0844537a247e820ac6503031 (diff) |
cpufreq: cpufreq-cpu0: Call CPUFREQ_POSTCHANGE notifier for failure cases too
Currently we are simply returning from target() if we encounter some error after
broadcasting CPUFREQ_PRECHANGE notifier. Which looks to be wrong as others might
depend on POSTCHANGE notifier for their functioning.
So, better broadcast CPUFREQ_POSTCHANGE notifier for these failure cases too,
but with old frequency.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpufreq.h')
0 files changed, 0 insertions, 0 deletions