linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998
@ 2019-01-11 13:37 Marc Gonzalez
  2019-01-11 18:39 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Gonzalez @ 2019-01-11 13:37 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette
  Cc: linux-clk, MSM, Jeffrey Hugo, Bjorn Andersson, Andy Gross

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(+)

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,
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998
  2019-01-11 13:37 [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998 Marc Gonzalez
@ 2019-01-11 18:39 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2019-01-11 18:39 UTC (permalink / raw)
  To: Marc Gonzalez, Michael Turquette
  Cc: linux-clk, MSM, Jeffrey Hugo, Bjorn Andersson, Andy Gross

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-11 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 13:37 [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998 Marc Gonzalez
2019-01-11 18:39 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).