clk: scmi: fix set_parent support when CCF is not being used
authorKamlesh Gurudasani <kamlesh@ti.com>
Tue, 4 Nov 2025 11:19:30 +0000 (16:49 +0530)
committerPeng Fan <peng.fan@nxp.com>
Mon, 10 Nov 2025 12:57:44 +0000 (20:57 +0800)
commit66cb830291b78389eb995960ee5e1460aedd7447
treeb73c2537c06284b4b489e14853eb82c2d81a10bd
parent0619cb32030b1d78379f3181d3e1103bb86124fb
clk: scmi: fix set_parent support when CCF is not being used

When not using Common clock framework(CCF), calls to
scmi_clk_set_parent returns -ENOTSUPP, which should not be the case.
Fix that.

Fixes: 15fdfef6642c ("clk: scmi: check the clock state/parent/rate
control permissions)

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/clk/clk_scmi.c