On Mon, Jul 07, 2025 at 08:27:41AM +0800, Alice Guo (OSS) wrote: >From: Alice Guo <alice....@nxp.com> > >Clock identifier passed to struct scmi_clk_parent_set_in should also use >clk_get_id() to obtain. > >Fixes: aa7bdc1af505 ("clk: scmi: manage properly the clk identifier with >CCF") > >Signed-off-by: Alice Guo <alice....@nxp.com>
It would be better to make commit clear: Commit aa7bdc1af505 ("clk: scmi: manage properly the clk identifier with CCF") enables CONFIG_CLK_AUTO_ID, so need to use clk_get_id to get the real SCMI CLK ID, otherwise wrong ID is used when set clk parent. Reviewed-by: Peng Fan <peng....@nxp.com>