|
@@ -472,10 +472,8 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
|
|
pm_suspend_ignore_children(&pdev->dev, 1);
|
|
pm_suspend_ignore_children(&pdev->dev, 1);
|
|
|
|
|
|
ret = sdhci_add_host(host);
|
|
ret = sdhci_add_host(host);
|
|
- if (ret) {
|
|
|
|
- dev_err(&pdev->dev, "failed to add host\n");
|
|
|
|
|
|
+ if (ret)
|
|
goto err_add_host;
|
|
goto err_add_host;
|
|
- }
|
|
|
|
|
|
|
|
if (host->mmc->pm_caps & MMC_PM_WAKE_SDIO_IRQ)
|
|
if (host->mmc->pm_caps & MMC_PM_WAKE_SDIO_IRQ)
|
|
device_init_wakeup(&pdev->dev, 1);
|
|
device_init_wakeup(&pdev->dev, 1);
|