diff mbox series

[v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998

Message ID b0970d61-5658-5a00-0f5e-158f31aa2460@free.fr (mailing list archive)
State Mainlined
Headers show
Series [v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998 | expand

Commit Message

Marc Gonzalez Jan. 11, 2019, 1:37 p.m. UTC
If QCOM_GDSC is disabled, gdsc_register() returns -ENOSYS, which causes
gcc_msm8998_probe() to fail. Select QCOM_GDSC to solve the problem.

gcc-msm8998: probe of 100000.clock-controller failed with error -38

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
---
 drivers/clk/qcom/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Boyd Jan. 11, 2019, 6:39 p.m. UTC | #1
Quoting Marc Gonzalez (2019-01-11 05:37:43)
> If QCOM_GDSC is disabled, gdsc_register() returns -ENOSYS, which causes
> gcc_msm8998_probe() to fail. Select QCOM_GDSC to solve the problem.
> 
> gcc-msm8998: probe of 100000.clock-controller failed with error -38
> 
> Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> ---

Applied to clk-fixes + added a Fixes tag.
diff mbox series

Patch

diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 1b1ba54e33dd..1c04575c118f 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -215,6 +215,7 @@  config MSM_MMCC_8996
 
 config MSM_GCC_8998
 	tristate "MSM8998 Global Clock Controller"
+	select QCOM_GDSC
 	help
 	  Support for the global clock controller on msm8998 devices.
 	  Say Y if you want to use peripheral devices such as UART, SPI,