On Fri, 22 Mar 2024 at 15:58, Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > Let clock_set_mul_div() return a boolean value whether the > clock has been updated or not, similarly to clock_set(). > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > include/hw/clock.h | 4 +++- > hw/core/clock.c | 8 +++++++- > 2 files changed, 10 insertions(+), 2 deletions(-)
I guess this makes sense, especially since you often would like to know this to decide whether to call clock_propagate(). We should also update the docs/devel/clocks.rst to mention this. thanks -- PMM