aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.c')
-rw-r--r--drivers/mmc/host/tmio_mmc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 8539e10784b4..93e83ad25976 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -172,8 +172,6 @@ static int tmio_mmc_probe(struct platform_device *pdev)
172 host->mmc->f_max = pdata->hclk; 172 host->mmc->f_max = pdata->hclk;
173 host->mmc->f_min = pdata->hclk / 512; 173 host->mmc->f_min = pdata->hclk / 512;
174 174
175 pm_runtime_enable(&pdev->dev);
176
177 ret = tmio_mmc_host_probe(host); 175 ret = tmio_mmc_host_probe(host);
178 if (ret) 176 if (ret)
179 goto host_free; 177 goto host_free;
@@ -193,7 +191,6 @@ host_remove:
193 tmio_mmc_host_remove(host); 191 tmio_mmc_host_remove(host);
194host_free: 192host_free:
195 tmio_mmc_host_free(host); 193 tmio_mmc_host_free(host);
196 pm_runtime_disable(&pdev->dev);
197cell_disable: 194cell_disable:
198 if (cell->disable) 195 if (cell->disable)
199 cell->disable(pdev); 196 cell->disable(pdev);
@@ -210,8 +207,6 @@ static int tmio_mmc_remove(struct platform_device *pdev)
210 if (cell->disable) 207 if (cell->disable)
211 cell->disable(pdev); 208 cell->disable(pdev);
212 209
213 pm_runtime_disable(&pdev->dev);
214
215 return 0; 210 return 0;
216} 211}
217 212