mmc: sdhci-cadence: add parsing sdhci properties
authorPiotr Sroka <piotrs@cadence.com>
Tue, 11 Apr 2017 11:13:38 +0000 (12:13 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:19 +0000 (21:42 +0200)
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>
drivers/mmc/host/sdhci-cadence.c

index 7797e98a7541d1ce4d485c04a5913f0c979c6bb9..19d5698244b596a3642cac81a674d6c5e857ad72 100644 (file)
@@ -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;