summaryrefslogtreecommitdiff
path: root/drivers/mmc/sdhci-cadence.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-12-30 02:00:10 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2018-01-22 14:11:58 +0900
commit4041bf7f8ae82537ea8731333ef47f0ad3f33d0f (patch)
tree8de7d8273335e182d68933177f6231988223bab1 /drivers/mmc/sdhci-cadence.c
parent954a963146c2f4487f5efce0be00e5625bc41e88 (diff)
mmc: sdhci-cadence: call mmc_of_parse()
This is needed to parse more capabilities such as mmc-hs200-1_8v. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/mmc/sdhci-cadence.c')
-rw-r--r--drivers/mmc/sdhci-cadence.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/sdhci-cadence.c b/drivers/mmc/sdhci-cadence.c
index 712b18c93f..921095b276 100644
--- a/drivers/mmc/sdhci-cadence.c
+++ b/drivers/mmc/sdhci-cadence.c
@@ -190,6 +190,10 @@ static int sdhci_cdns_probe(struct udevice *dev)
host->ops = &sdhci_cdns_ops;
host->quirks |= SDHCI_QUIRK_WAIT_SEND_CMD;
+ ret = mmc_of_parse(dev, &plat->cfg);
+ if (ret)
+ return ret;
+
ret = sdhci_cdns_phy_init(plat, gd->fdt_blob, dev_of_offset(dev));
if (ret)
return ret;