summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKamlesh Gurudasani <[email protected]>2026-03-23 16:59:27 +0530
committerPeng Fan <[email protected]>2026-04-09 10:14:19 +0800
commitd113b295232dd6d819140169d7178d10d155c7e5 (patch)
tree37c69c52f8e71ab0d3d234210fdaa64a1d0bef39 /scripts
parenta383c9689282269bb9687ec6c115de094c27fa67 (diff)
clk: scmi: Fix protocol version fetch for non-CCF platforms
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. Tested on am62lx_evm. Fixes: ae7e0330ce22 ("clk: scmi: add compatibility with clock protocol 2.0") Signed-off-by: Kamlesh Gurudasani <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions