Re: [PATCH] clk: samsung: clk-pll: simplify samsung_pll_lock_wait()

From: Krzysztof Kozlowski

Date: Sun Oct 12 2025 - 21:23:31 EST


On 01/10/2025 17:13, André Draszik wrote:
> /*
> @@ -93,25 +92,15 @@ static int samsung_pll_lock_wait(struct samsung_clk_pll *pll,
> * initialized, another when the timekeeping is suspended. udelay() also
> * cannot be used when the clocksource is not running on arm64, since
> * the current timer is used as cycle counter. So a simple busy loop
> - * is used here in that special cases. The limit of iterations has been
> - * derived from experimental measurements of various PLLs on multiple
> - * Exynos SoC variants. Single register read time was usually in range
> - * 0.4...1.5 us, never less than 0.4 us.
> + * is used here.
> + * The limit of iterations has been derived from experimental
> + * measurements of various PLLs on multiple Exynos SoC variants. Single
> + * register read time was usually in range 0.4...1.5 us, never less than
> + * 0.4 us.
> */
> - if (pll_early_timeout || timekeeping_suspended) {

Please drop now pll_early_timeout, it is not used anymore.

Best regards,
Krzysztof