pinctrl: qcom: Make it possible to select SC8180x TLMM

Message ID 20210608180702.2064253-1-bjorn.andersson@linaro.org
State New
Headers show
Series
  • pinctrl: qcom: Make it possible to select SC8180x TLMM
Related show

Commit Message

Bjorn Andersson June 8, 2021, 6:07 p.m.
It's currently not possible to select the SC8180x TLMM driver, due to it
selecting PINCTRL_MSM, rather than depending on the same. Fix this.

Fixes: 97423113ec4b ("pinctrl: qcom: Add sc8180x TLMM driver")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

---
 drivers/pinctrl/qcom/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.29.2

Comments

Linus Walleij June 9, 2021, 11:15 a.m. | #1
On Tue, Jun 8, 2021 at 8:07 PM Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:

> It's currently not possible to select the SC8180x TLMM driver, due to it

> selecting PINCTRL_MSM, rather than depending on the same. Fix this.

>

> Fixes: 97423113ec4b ("pinctrl: qcom: Add sc8180x TLMM driver")

> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>


Patch applied for fixes!

Yours,
Linus Walleij

Patch

diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
index 25d2f7f7f3b6..11e967dbb44b 100644
--- a/drivers/pinctrl/qcom/Kconfig
+++ b/drivers/pinctrl/qcom/Kconfig
@@ -223,7 +223,7 @@  config PINCTRL_SC7280
 config PINCTRL_SC8180X
 	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
 	depends on GPIOLIB && (OF || ACPI)
-	select PINCTRL_MSM
+	depends on PINCTRL_MSM
 	help
 	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
 	  Qualcomm Technologies Inc TLMM block found on the Qualcomm