diff mbox series

[v4.14] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS

Message ID 20190125151141.2736-1-georgi.djakov@linaro.org
State New
Headers show
Series [v4.14] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS | expand

Commit Message

Georgi Djakov Jan. 25, 2019, 3:11 p.m. UTC
From: Vijay Viswanath <vviswana@codeaurora.org>


commit 99d570da309813f67e9c741edeff55bafc6c1d5e upstream.

Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific
register read and write APIs, if registered, can be used.

Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>

Acked-by: Adrian Hunter <adrian.hunter@intel.com>

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

Cc: Koen Vandeputte <koen.vandeputte@ncentric.com>
Cc: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>

---

We got a report [1] that a specific platform (ipq806x) fails to build,
after the following commit in the v4.14 stable kernel:
4abb6960f61c ("mmc: sdhci-msm: Disable CDR function on TX")

Let's pick this patch into v4.14.y to automagically select this Kconfig
dependency for platforms which have enabled the driver, but not the
accessors in their kernel config.

[1] https://www.spinics.net/lists/linux-mmc/msg52983.html

 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Sasha Levin Jan. 26, 2019, 6:09 p.m. UTC | #1
On Fri, Jan 25, 2019 at 05:11:41PM +0200, Georgi Djakov wrote:
>From: Vijay Viswanath <vviswana@codeaurora.org>

>

>commit 99d570da309813f67e9c741edeff55bafc6c1d5e upstream.

>

>Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific

>register read and write APIs, if registered, can be used.

>

>Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>

>Acked-by: Adrian Hunter <adrian.hunter@intel.com>

>Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

>Cc: Koen Vandeputte <koen.vandeputte@ncentric.com>

>Cc: Loic Poulain <loic.poulain@linaro.org>

>Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>


Queued, thank you.

--
Thanks,
Sasha
diff mbox series

Patch

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 8c15637178ff..9ed786935a30 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -429,6 +429,7 @@  config MMC_SDHCI_MSM
 	tristate "Qualcomm SDHCI Controller Support"
 	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
 	depends on MMC_SDHCI_PLTFM
+	select MMC_SDHCI_IO_ACCESSORS
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
 	  support present in Qualcomm SOCs. The controller supports