Skip to content
Commit f21401ca authored by tianyu2's avatar tianyu2 Committed by Viresh Kumar
Browse files

cpufreq: imx6: use regmap to read ocotp register



Reading the ocotp register directly is unsafe and will cause the system
to hang if its clock is not turned on in CCM. The regmap interface has
clk enabled, which can solve this problem.

Signed-off-by: default avatartianyu2 <tianyu2@kernelsoft.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 6613476e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment