Re: [RESEND PATCH v2] clk: update clk_clean_rate_cache to use private clk struct

2022-08-12 Thread Sean Anderson
Hi Patrick, Sorry for the (very late) response. On 7/12/22 8:24 AM, Patrick Delaunay wrote: In clk_clean_rate_cache, clk->rate should update the private clock struct, in particular when CCF is activated, to save the cached rate value. When clk_get_parent_rate is called, the cached information

[RESEND PATCH v2] clk: update clk_clean_rate_cache to use private clk struct

2022-07-12 Thread Patrick Delaunay
In clk_clean_rate_cache, clk->rate should update the private clock struct, in particular when CCF is activated, to save the cached rate value. When clk_get_parent_rate is called, the cached information is read from pclk->rate, with pclk = clk_get_parent(clk). As the cached is read from private