Skip to content

Commit

Permalink
clk: qcom: Select QCOM_GDSC with MSM_GCC_8998
Browse files Browse the repository at this point in the history
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>
Fixes: b5f5f52 ("clk: qcom: Add MSM8998 Global Clock Control (GCC) driver")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Marc Gonzalez authored and Stephen Boyd committed Jan 11, 2019
1 parent 2137a10 commit 83b4c14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/qcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 83b4c14

Please sign in to comment.