commit | c3aca6b1ce17a2e866788bc2bd40e25ef6e5ba58 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Wed Jun 19 11:18:20 2013 +0530 |
committer | Viresh Kumar <viresh.kumar@linaro.org> | Mon Jun 24 18:18:59 2013 +0530 |
tree | 6fd0c7e0084f6371c6f8a0651b9a46c4e0587209 | |
parent | 803c126af699602561a3ddb1814354993e4395b6 [diff] |
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>