[PATCH] cpufreq: imx6: use regmap to read ocotp register
Viresh Kumar
viresh.kumar at linaro.org
Mon Jan 22 22:06:41 PST 2024
On 09-01-24, 19:45, tianyu2 wrote:
> 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: tianyu2 <tianyu2 at kernelsoft.com>
> ---
> drivers/cpufreq/imx6q-cpufreq.c | 45 +++++++++++----------------------
> 1 file changed, 15 insertions(+), 30 deletions(-)
Applied. Thanks.
--
viresh
More information about the linux-arm-kernel
mailing list