-
由 Viresh Kumar 提交于
calculate_effective_freq() was still not optimized and there were cases when it returned without error and with values of cpsr and scr as zero. Also, the variable named found is not used well. This patch targets to optimize and correct this routine. Tested for SPEAr. Signed-off-by: NViresh Kumar <viresh.kumar@st.com> Tested-by: NVinit Kamalaksha Shenoy <vinit.shenoy@st.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
5eb806a3