]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: qcom: sm6115: Select QCOM_GDSC
authorDang Huynh <danct12@riseup.net>
Sat, 10 Sep 2022 17:02:07 +0000 (00:02 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:57:53 +0000 (09:57 +0200)
[ Upstream commit 50ee65dc512b9b5c4de354cf3b4dded34f46c571 ]

While working on the Fxtec Pro1X device, this error shows up with
my own minimal configuration:

gcc-sm6115: probe of 1400000.clock-controller failed with error -38

The clock driver depends on CONFIG_QCOM_GDSC and after enabling
that, the driver probes successfully.

Signed-off-by: Dang Huynh <danct12@riseup.net>
Fixes: cbe63bfdc54f ("clk: qcom: Add Global Clock controller (GCC)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220910170207.1592220-1-danct12@riseup.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/Kconfig

index bc4dcf356d8285d9005853aeede82a7c33d9b48e..b1b141abc01c2033fb9885f881fdaff950068fec 100644 (file)
@@ -637,6 +637,7 @@ config SM_DISPCC_6350
 
 config SM_GCC_6115
        tristate "SM6115 and SM4250 Global Clock Controller"
+       select QCOM_GDSC
        help
          Support for the global clock controller on SM6115 and SM4250 devices.
          Say Y if you want to use peripheral devices such as UART, SPI,