summaryrefslogtreecommitdiff
path: root/doc/develop/checkpatch.rst
diff options
context:
space:
mode:
authorPatrice Chotard <[email protected]>2025-12-18 18:27:02 +0100
committerPeng Fan <[email protected]>2026-01-05 10:04:48 +0800
commit0e9055b1488fe3c7d4c5143bc7bb7669af7f9cd1 (patch)
tree930d09c1dd2bd8d1f95315ae9d7727d65983dd82 /doc/develop/checkpatch.rst
parent9a23c1e5f21ec5d13d9833953b2b608f28273309 (diff)
clk: scmi: Fix priv initialization in scmi_clk_gate()
In scmi_clk_probe(), in case of CLK_CCF is not enabled, parent private data is not set, so in scmi_clk_gate(), an uninitialized priv struct is retrieved. SCMI request is performed either using scmi_clk_state_in_v1 or scmi_clk_state_in_v2 struct depending of the unpredictable value of priv->version which leads to error during SCMI clock enable. Issue detected on STM32MP157C-DK2 board using the SCMI device tree stm32mp157c-dk2-scmi.dts. Fixes: 0619cb32030b ("firmware: scmi: Add clock v3.2 CONFIG_SET support") Reviewed-by: Peng Fan <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Patrice Chotard <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'doc/develop/checkpatch.rst')
0 files changed, 0 insertions, 0 deletions