diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-01 16:57:44 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-02 17:10:48 +0400 |
commit | fd143b4d6fb763183ef6e46d1ab84a42c59079af (patch) | |
tree | 2a0a45844d1ef74740b344b2ed5158a1d6fd4841 /drivers/cpufreq/cpufreq-nforce2.c | |
parent | 746b3df98b2edc0e0844537a247e820ac6503031 (diff) | |
download | linux-fd143b4d6fb763183ef6e46d1ab84a42c59079af.tar.xz |
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 'drivers/cpufreq/cpufreq-nforce2.c')
0 files changed, 0 insertions, 0 deletions