|
@@ -607,7 +607,9 @@ static int sdhci_s3c_probe(struct platform_device *pdev)
|
|
pm_runtime_use_autosuspend(&pdev->dev);
|
|
pm_runtime_use_autosuspend(&pdev->dev);
|
|
pm_suspend_ignore_children(&pdev->dev, 1);
|
|
pm_suspend_ignore_children(&pdev->dev, 1);
|
|
|
|
|
|
- mmc_of_parse(host->mmc);
|
|
|
|
|
|
+ ret = mmc_of_parse(host->mmc);
|
|
|
|
+ if (ret)
|
|
|
|
+ goto err_req_regs;
|
|
|
|
|
|
ret = sdhci_add_host(host);
|
|
ret = sdhci_add_host(host);
|
|
if (ret) {
|
|
if (ret) {
|