Skip to contentSkip to conversation

mmc: Fix Kconfig warnings on keystone_defconfig

PATCH In review Faiz Abbas 4 participants 4 messages Jan 9, 2019 – Jan 14, 2019 MMC, SD and SDIO

lore
Share & tools
lore

Faiz Abbas

author
#0 lore raw

PATCH 1/1 mmc: Fix Kconfig warnings on keystone_defconfig

Commit 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)") added a select on TI_SOC_THERMAL for the driver to get temperature for tuning.

However, this causes the following warning on keystone_defconfig because keystone does not support TI_SOC_THERMAL:

"WARNING: unmet direct dependencies detected for TI_SOC_THERMAL"

Fix this by changing the select to imply.

Fixes 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding

SDR104/HS200 tuning failures (i929)")

---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -1
index e26b8145efb3..bc61eefcb695 100644
@@ -978,7 +978,7 @@ config MMC_SDHCI_OMAP
 	tristate "TI SDHCI Controller Support"
 	depends on MMC_SDHCI_PLTFM && OF
 	select THERMAL
-	select TI_SOC_THERMAL
+	imply TI_SOC_THERMAL
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
 	  support present in TI's DRA7 SOCs. The controller supports
Signature · 1 line
2.19.2
Tested-by on v1 1/1
#1 lore raw
Quoted 24 lines · Faiz Abbas

Commit 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)") added a select on TI_SOC_THERMAL for the driver to get temperature for tuning.

However, this causes the following warning on keystone_defconfig because keystone does not support TI_SOC_THERMAL:

"WARNING: unmet direct dependencies detected for TI_SOC_THERMAL"

Fix this by changing the select to imply.

Fixes 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding

SDR104/HS200 tuning failures (i929)")

---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +0 -0
index e26b8145efb3..bc61eefcb695 100644

drivers/mmc/host/Kconfig config MMC_SDHCI_OMAP · line 984

Quoted 8 lines
drivers/mmc/host/Kconfig +1 -1
@@ -978,7 +978,7 @@ config MMC_SDHCI_OMAP
 	tristate "TI SDHCI Controller Support"
 	depends on MMC_SDHCI_PLTFM && OF
 	select THERMAL
-	select TI_SOC_THERMAL
+	imply TI_SOC_THERMAL
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
 	  support present in TI's DRA7 SOCs. The controller supports

Fixes the warnings I'm seeing with randconfig builds.

Signature · 4 lines
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.
Acked-by on v1 1/1
#2 lore raw
In reply to Faiz Abbas
Quoted 7 lines · Faiz Abbas

Commit 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)") added a select on TI_SOC_THERMAL for the driver to get temperature for tuning.

However, this causes the following warning on keystone_defconfig because keystone does not support TI_SOC_THERMAL:

Quoted 7 lines

"WARNING: unmet direct dependencies detected for TI_SOC_THERMAL"

Fix this by changing the select to imply.

Fixes 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding

SDR104/HS200 tuning failures (i929)")

Quoted 18 lines
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -1
index e26b8145efb3..bc61eefcb695 100644
@@ -978,7 +978,7 @@ config MMC_SDHCI_OMAP
 	tristate "TI SDHCI Controller Support"
 	depends on MMC_SDHCI_PLTFM && OF
 	select THERMAL
-	select TI_SOC_THERMAL
+	imply TI_SOC_THERMAL
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
 	  support present in TI's DRA7 SOCs. The controller supports
#3 lore raw
In reply to Faiz Abbas
Quoted 8 lines · Faiz Abbas

Commit 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)") added a select on TI_SOC_THERMAL for the driver to get temperature for tuning.

However, this causes the following warning on keystone_defconfig because keystone does not support TI_SOC_THERMAL:

Quoted 7 lines

"WARNING: unmet direct dependencies detected for TI_SOC_THERMAL"

Fix this by changing the select to imply.

Fixes 961de0a856e3 ("mmc: sdhci-omap: Workaround errata regarding

SDR104/HS200 tuning failures (i929)")

Applied for fixes, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -2
index e26b8145efb3..bc61eefcb695 100644
@@ -978,7 +978,7 @@ config MMC_SDHCI_OMAP
        tristate "TI SDHCI Controller Support"
        depends on MMC_SDHCI_PLTFM && OF
        select THERMAL
-       select TI_SOC_THERMAL
+       imply TI_SOC_THERMAL
        help
          This selects the Secure Digital Host Controller Interface (SDHCI)
          support present in TI's DRA7 SOCs. The controller supports
--

2.19.2