Re: [PATCH] clk: sophgo: Use div64 for fpll rate calculation

From: Inochi Amaoto
Date: Wed Apr 17 2024 - 07:08:43 EST


On Sat, Apr 13, 2024 at 08:53:33AM GMT, Inochi Amaoto wrote:
> The CV1800 SoC needs to use 64-bit division for fpll rate
> calculation, which will cause problem on 32-bit system.
> Use div64 series function to avoid this problem.
>
> Fixes: 80fd61ec4612 ("clk: sophgo: Add clock support for CV1800 SoC")
> Signed-off-by: Inochi Amaoto <inochiama@xxxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202404122344.d5pb2N1I-lkp@xxxxxxxxx/

Close this patch as favor the patch from Arnd, which is simpler.
https://lore.kernel.org/all/20240415134532.3467817-1-arnd@xxxxxxxxxx/