|
@@ -2232,6 +2232,7 @@ err_irq:
|
|
|
dma_release_channel(host->tx_chan);
|
|
|
if (host->rx_chan)
|
|
|
dma_release_channel(host->rx_chan);
|
|
|
+ pm_runtime_dont_use_autosuspend(host->dev);
|
|
|
pm_runtime_put_sync(host->dev);
|
|
|
pm_runtime_disable(host->dev);
|
|
|
if (host->dbclk)
|
|
@@ -2253,6 +2254,7 @@ static int omap_hsmmc_remove(struct platform_device *pdev)
|
|
|
dma_release_channel(host->tx_chan);
|
|
|
dma_release_channel(host->rx_chan);
|
|
|
|
|
|
+ pm_runtime_dont_use_autosuspend(host->dev);
|
|
|
pm_runtime_put_sync(host->dev);
|
|
|
pm_runtime_disable(host->dev);
|
|
|
device_init_wakeup(&pdev->dev, false);
|