Searched hist:"4 b6058e44150ae28649a87047a8e2194ce352b38" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/clk/ |
| H A D | clk.c | 4b6058e44150ae28649a87047a8e2194ce352b38 Wed Nov 03 15:34:00 UTC 2021 Gabriel Fernandez <gabriel.fernandez@foss.st.com> clk: fix clk_get_rate() when parent clock rate was changed
clk_get_rate() returns a cached value of the clock rate.
If the rate of the parent clock changed, then the rate is not synchronized. Change the function to compute all clock parents' rates and return the synchronized value.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Fixes: 2305544b3b9b ("drivers: clk: add generic clock framework")
|