Files
u-boot/drivers
Patrick Delaunay 19fb40a5e7 clk: update clk_clean_rate_cache to use private clk struct
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 clk data, the update should
be done also on it.

Fixes: 6b7fd3128f ("clk: fix set_rate to clean up cached rates for the hierarchy")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20220620153717.v2.1.Ifa06360115ffa3f3307372e6cdd98ec16759d6ba@changeid
Link: https://lore.kernel.org/r/20220712142352.RESEND.v2.1.Ifa06360115ffa3f3307372e6cdd98ec16759d6ba@changeid/
2022-10-19 12:28:30 -04:00
..
2022-04-25 09:25:00 +02:00
2021-10-05 08:50:15 -04:00
2022-08-04 16:18:47 -04:00
2022-08-04 16:18:47 -04:00
2022-01-13 07:57:49 -05:00
2022-09-02 13:25:01 +02:00
2022-01-13 07:57:49 -05:00
2022-09-07 13:44:55 +08:00
2022-08-26 15:00:05 -04:00
2022-09-02 13:25:01 +02:00
2022-09-03 16:59:05 +03:00
2022-05-03 21:39:22 +02:00
2022-09-26 01:49:36 +02:00
2021-10-01 21:08:18 -04:00