hw/clock: Only propagate clock changes if the clock is changed
commit96250eab904261b31d9d1ac3abbdb36737635ffa
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 28 Aug 2020 09:02:44 +0000 (28 10:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 09:02:44 +0000 (28 10:02 +0100)
tree227bdc5607b938775ac69c92205affd1d7fe219d
parent15aa2876d9c7181c58305430f726461a2f24cb00
hw/clock: Only propagate clock changes if the clock is changed

Avoid propagating the clock change when the clock does not change.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200806123858.30058-4-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/clock.h