summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-06-19 11:18:20 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2013-06-24 18:19:00 +0530
commit5a571c352db1eb0aa6325d71807bb40b972faa3b (patch)
treedca3248b7307c87f177ed69cd95ac0abb2a41856 /COPYING
parentc3aca6b1ce17a2e866788bc2bd40e25ef6e5ba58 (diff)
downloadlinux-5a571c352db1eb0aa6325d71807bb40b972faa3b.tar.bz2
cpufreq: imx6q: 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. This also moves PRECHANGE notifier down so that we call it just before starting frequency transition. Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions