Skip to contentSkip to conversation

clk: qcom: videocc-sm8350: use depend on instead of select

PATCH Applied Pengyu Luo 4 participants 4 messages Mar 13 – Mar 19

Subsystems (3)
lore
Share & tools
lore

Pengyu Luo

author
#0 lore raw

PATCH 1/1 clk: qcom: videocc-sm8350: use depend on instead of select

Both sm8350 and sc8280xp use this, on sc8280xp, this would select gcc-sm8350, we don't neet it on sc8280xp. use depend on to fix it.

---
 drivers/clk/qcom/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/qcom/Kconfig +2 -2
index ced60771ec..59c1909451 100644
@@ -1614,10 +1614,10 @@ config SM_VIDEOCC_8250
 config SM_VIDEOCC_8350
 	tristate "SM8350 Video Clock Controller"
 	depends on ARM64 || COMPILE_TEST
-	select SM_GCC_8350
+	depends on SM_GCC_8350 || SC_GCC_8280XP
 	select QCOM_GDSC
 	help
-	  Support for the video clock controller on SM8350 devices.
+	  Support for the video clock controller on SM8350 or SC8280XP devices.
 	  Say Y if you want to support video devices and functionality such as
 	  video encode and decode.
 
Signature · 1 line
2.53.0
maintainer Applied
#3 lore raw
In reply to Pengyu Luo
Quoted 4 lines · Pengyu Luo

Both sm8350 and sc8280xp use this, on sc8280xp, this would select gcc-sm8350, we don't neet it on sc8280xp. use depend on to fix it.

Applied, thanks!

[1/1] clk: qcom: videocc-sm8350: use depend on instead of select

      commit: ecaec77148428fd372a57eadbcca68845a8c68f7

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>