Re: [PATCH] cpufreq: imx6: use regmap to read ocotp register

From: Viresh Kumar
Date: Tue Jan 23 2024 - 01:06:53 EST


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@xxxxxxxxxxxxxx>
> ---
> drivers/cpufreq/imx6q-cpufreq.c | 45 +++++++++++----------------------
> 1 file changed, 15 insertions(+), 30 deletions(-)

Applied. Thanks.

--
viresh