]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: qcom: videocc-sm8350: use depend on instead of select
authorPengyu Luo <mitltlatltl@gmail.com>
Fri, 13 Mar 2026 11:10:18 +0000 (19:10 +0800)
committerBjorn Andersson <andersson@kernel.org>
Thu, 19 Mar 2026 03:00:19 +0000 (22:00 -0500)
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.

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Reviewed-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260313111018.130068-1-mitltlatltl@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/Kconfig

index c980e6e44ae35b1d87178295cef955fa446f0d79..26c208c460ddf8608f5d2aad37bf24f1d6c18de8 100644 (file)
@@ -1622,10 +1622,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.