From: Michal Simek Date: Tue, 7 Apr 2015 05:57:32 +0000 (+0200) Subject: mmc: sdhci-of-arasan: Call OF parsing for MMC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16b23787fc70;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mmc: sdhci-of-arasan: Call OF parsing for MMC Also check MMC OF properties. The controller supports MMC too. Signed-off-by: Michal Simek Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c index 129079fb53bf..6287d426c96b 100644 --- a/drivers/mmc/host/sdhci-of-arasan.c +++ b/drivers/mmc/host/sdhci-of-arasan.c @@ -173,6 +173,12 @@ static int sdhci_arasan_probe(struct platform_device *pdev) pltfm_host->priv = sdhci_arasan; pltfm_host->clk = clk_xin; + ret = mmc_of_parse(host->mmc); + if (ret) { + dev_err(&pdev->dev, "parsing dt failed (%u)\n", ret); + goto clk_disable_all; + } + ret = sdhci_add_host(host); if (ret) goto err_pltfm_free;