diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-01 12:57:44 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-02 15:10:48 +0200 |
commit | fd143b4d6fb763183ef6e46d1ab84a42c59079af (patch) | |
tree | 2a0a45844d1ef74740b344b2ed5158a1d6fd4841 /drivers/cpufreq/powernow-k7.c | |
parent | 746b3df98b2edc0e0844537a247e820ac6503031 (diff) | |
download | op-kernel-dev-fd143b4d6fb763183ef6e46d1ab84a42c59079af.zip op-kernel-dev-fd143b4d6fb763183ef6e46d1ab84a42c59079af.tar.gz |
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/powernow-k7.c')
0 files changed, 0 insertions, 0 deletions