summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorSudeep Holla2015-04-27 11:51:05 +0200
committerRafael J. Wysocki2015-05-05 00:55:16 +0200
commit0a95e630b49a30c176daeff39ac2e90f1231604b (patch)
treea3357f746a3ed6d881032cc15c64f7a955364c52 /include/trace
parentcpufreq: pxa: make pxa_freqs arrays const (diff)
downloadkernel-qcow2-linux-0a95e630b49a30c176daeff39ac2e90f1231604b.tar.gz
kernel-qcow2-linux-0a95e630b49a30c176daeff39ac2e90f1231604b.tar.xz
kernel-qcow2-linux-0a95e630b49a30c176daeff39ac2e90f1231604b.zip
cpufreq: arm_big_little: check if the frequency is set correctly
The actual frequency is set through "clk_change_rate" which is void function. If the underlying hardware fails and returns error, the error is lost in the clk layer. In order to track such failures, we need to read back the frequency(just the cached value as clk_recalc called after clk->ops->set_rate gets the frequency) This patch adds check to see if the frequency is set correctly or if they were any hardware failures and sends the appropriate errors to the cpufreq core. Reviewed-by: Michael Turquette <mike.turquette@linaro.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions