[PATCH 2/2] clk: meson: regmap: use the current divisor for read-only clocks
Jerome Brunet
jbrunet at baylibre.com
Thu Oct 29 04:07:46 PDT 2026
> None of the Meson clocks using clk_regmap_divider_ro_ops set
> CLK_DIVIDER_READ_ONLY. Without that flag, the shared rounding callback
> can choose a new divisor even though these ops cannot program it. The
> clock core may then adjust child clocks using the wrong parent rate.
>
> Make the read-only ops always round using the current hardware divisor.
> Parent rate changes remain allowed with CLK_SET_RATE_PARENT.
>
> Signed-off-by: Carlo Caione <ccaione at baylibre.com>
Fixes tag maybe ?
With this
Reviewed-by: Jerome Brunet <jbrunet at baylibre.com>
--
Jerome
More information about the linux-arm-kernel
mailing list