mmc: sdhci-omap: Invoke sdhci_get_of_property to read sdhci dt properties
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 27 Apr 2018 11:47:13 +0000 (17:17 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 May 2018 07:36:18 +0000 (09:36 +0200)
Invoke sdhci_get_of_property defined in sdhci-pltfm.c to read
sdhci specific properties from dt node.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c

index b3dc7f1..d5c1a9c 100644 (file)
@@ -893,6 +893,7 @@ static int sdhci_omap_probe(struct platform_device *pdev)
        host->ioaddr += offset;
 
        mmc = host->mmc;
+       sdhci_get_of_property(pdev);
        ret = mmc_of_parse(mmc);
        if (ret)
                goto err_pltfm_free;