summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorPiotr Sroka <piotrs@cadence.com>2017-04-11 13:13:38 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-04-24 21:42:19 +0200
commit861183f115cd80db7efebf5516f4e7a424c13abd (patch)
treec7c9ba4d65d5f0135ada9f7f620e773b2e4ddc07 /drivers/mmc
parentmmc: host: omap_hsmmc: checking for NULL instead of IS_ERR() (diff)
downloadlinux-861183f115cd80db7efebf5516f4e7a424c13abd.tar.xz
linux-861183f115cd80db7efebf5516f4e7a424c13abd.zip
mmc: sdhci-cadence: add parsing sdhci properties
Add calling sdhci_get_of_property function to parse sdhci properties. Signed-off-by: Piotr Sroka <piotrs@cadence.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-cadence.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-cadence.c b/drivers/mmc/host/sdhci-cadence.c
index 7797e98a7541..19d5698244b5 100644
--- a/drivers/mmc/host/sdhci-cadence.c
+++ b/drivers/mmc/host/sdhci-cadence.c
@@ -330,6 +330,8 @@ static int sdhci_cdns_probe(struct platform_device *pdev)
host->mmc_host_ops.hs400_enhanced_strobe =
sdhci_cdns_hs400_enhanced_strobe;
+ sdhci_get_of_property(pdev);
+
ret = mmc_of_parse(host->mmc);
if (ret)
goto free;