diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-01 14:57:44 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-02 15:10:48 +0200 |
commit | fd143b4d6fb763183ef6e46d1ab84a42c59079af (patch) | |
tree | 2a0a45844d1ef74740b344b2ed5158a1d6fd4841 /drivers/cpufreq/s5pv210-cpufreq.c | |
parent | cpufreq: cpufreq-cpu0: No need to check cpu number in init() (diff) | |
download | linux-fd143b4d6fb763183ef6e46d1ab84a42c59079af.tar.xz linux-fd143b4d6fb763183ef6e46d1ab84a42c59079af.zip |
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/s5pv210-cpufreq.c')
0 files changed, 0 insertions, 0 deletions