[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ad33e8561ca236c5f897003fb40bdc09.sboyd@kernel.org>
Date: Wed, 28 Aug 2024 11:52:36 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Bo Gan <ganboing@...il.com>, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: samuel.holland@...ive.com, emil.renner.berthing@...onical.com, mturquette@...libre.com, paul.walmsley@...ive.com
Subject: Re: [PATCH] clk: analogbits: Fix incorrect calculation of vco rate delta
Quoting Bo Gan (2024-08-26 23:19:54)
> In function `wrpll_configure_for_rate`, we try to determine the best PLL
> configuration for a target rate. However, in the loop where we try values
> of R, we should compare the derived `vco` with `target_vco_rate`. However,
> we were in fact comparing it with `target_rate`, which is actually after
> Q shift. This is incorrect, and sometimes can result in suboptimal clock
> rates. This patch fixes it.
>
> Signed-off-by: Bo Gan <ganboing@...il.com>
> ---
Please add a Fixes tag.
Also, your patch has tons of diff context. Why?
Powered by blists - more mailing lists