summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-cadence.c
diff options
context:
space:
mode:
authorPiotr Sroka <piotrs@cadence.com>2017-04-11 14:13:38 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-04-24 22:42:19 +0300
commit861183f115cd80db7efebf5516f4e7a424c13abd (patch)
treec7c9ba4d65d5f0135ada9f7f620e773b2e4ddc07 /drivers/mmc/host/sdhci-cadence.c
parentec5ab8933772c87f24ad62a4a602fe8949f423c2 (diff)
downloadlinux-861183f115cd80db7efebf5516f4e7a424c13abd.tar.xz
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/host/sdhci-cadence.c')
-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;