]> Gentwo Git Trees - linux/.git/commit
clk: scmi: Add duty cycle ops only when duty cycle is supported
authorJacky Bai <ping.bai@nxp.com>
Mon, 28 Jul 2025 07:04:46 +0000 (15:04 +0800)
committerStephen Boyd <sboyd@kernel.org>
Sat, 20 Sep 2025 05:50:20 +0000 (22:50 -0700)
commit18db1ff2dea0f97dedaeadd18b0cb0a0d76154df
tree2057372569e62165c363ee0bfe20282af7dec72d
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
clk: scmi: Add duty cycle ops only when duty cycle is supported

For some of the SCMI based platforms, the oem extended config may be
supported, but not for duty cycle purpose. Skip the duty cycle ops if
err return when trying to get duty cycle info.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-scmi.c