|
@@ -173,6 +173,12 @@ static int sdhci_arasan_probe(struct platform_device *pdev)
|
|
pltfm_host->priv = sdhci_arasan;
|
|
pltfm_host->priv = sdhci_arasan;
|
|
pltfm_host->clk = clk_xin;
|
|
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);
|
|
ret = sdhci_add_host(host);
|
|
if (ret)
|
|
if (ret)
|
|
goto err_pltfm_free;
|
|
goto err_pltfm_free;
|