[PATCH] clk: scmi: Fix protocol version fetch for non-CCF platforms
Marek Vasut
marek.vasut at mailbox.org
Fri Feb 27 13:11:22 CET 2026
On 2/27/26 1:07 PM, Kamlesh Gurudasani wrote:
> The SCMI clock protocol version was only being fetched when CLK_CCF
> was enabled. On non-CCF platforms, the probe function returned early
> without fetching the version, leaving priv->version as 0.
>
> This caused issues because code paths like scmi_clk_gate() and
> scmi_clk_get_permissions() depend on priv->version to determine
> which protocol message format to use, even in non-CCF mode.
>
> Fix this by moving the scmi_generic_protocol_version() call before
> the CLK_CCF check, ensuring the version is fetched for both CCF and
> non-CCF platforms.
Which platforms are these non-CCF platforms you refer to ? Which
platforms are broken right now ? Those details should be included in the
CM .
More information about the U-Boot
mailing list