diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-06-19 11:18:20 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2013-06-24 18:18:59 +0530 |
commit | c3aca6b1ce17a2e866788bc2bd40e25ef6e5ba58 (patch) | |
tree | 6fd0c7e0084f6371c6f8a0651b9a46c4e0587209 /drivers/cpufreq/imx6q-cpufreq.c | |
parent | 803c126af699602561a3ddb1814354993e4395b6 (diff) | |
download | op-kernel-dev-c3aca6b1ce17a2e866788bc2bd40e25ef6e5ba58.zip op-kernel-dev-c3aca6b1ce17a2e866788bc2bd40e25ef6e5ba58.tar.gz |
cpufreq: exynos: call CPUFREQ_POSTCHANGE notfier in error cases
PRECHANGE and POSTCHANGE notifiers must be called in groups, i.e either both
should be called or both shouldn't be.
In case we have started PRECHANGE notifier and found an error, we must call
POSTCHANGE notifier with freqs.new = freqs.old to guarantee that sequence of
calling notifiers is complete.
This patch fixes it.
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/imx6q-cpufreq.c')
0 files changed, 0 insertions, 0 deletions