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
commit44a49a23c97d9442f4eafe011913897c77bd3075 (patch)
tree1f46f9499b9a2b3b4189166242a81422e0dfc94f /COPYING
parent5a571c352db1eb0aa6325d71807bb40b972faa3b (diff)
downloadlinux-44a49a23c97d9442f4eafe011913897c77bd3075.tar.bz2
cpufreq: omap: 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. Omap driver was taking care of it well, but wasn't restoring freqs.new to freqs.old in some cases. I wasn't required to add code for it as moving PRECHANGE notifier down was a better option, so that we call it just before starting frequency transition. Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions