Commit 37f6190d authored by Tony Lindgren's avatar Tony Lindgren Committed by Chris Ball

mmc: omap_hsmmc: Fix "Unbalanced pm_runtime_enable!" warning

Otherwise we can get following warning when re-loading the omap_hsmmc
driver module when gpio_twl4030 module is not loaded:

omap_hsmmc omap_hsmmc.0: Unbalanced pm_runtime_enable!
omap_hsmmc omap_hsmmc.0: Unable to grab MMC CD IRQ
omap_hsmmc: probe of omap_hsmmc.0 failed with error -22
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 956d9fd5
...@@ -1935,6 +1935,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev) ...@@ -1935,6 +1935,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
err_irq: err_irq:
pm_runtime_mark_last_busy(host->dev); pm_runtime_mark_last_busy(host->dev);
pm_runtime_put_autosuspend(host->dev); pm_runtime_put_autosuspend(host->dev);
pm_runtime_disable(host->dev);
clk_put(host->fclk); clk_put(host->fclk);
if (host->got_dbclk) { if (host->got_dbclk) {
clk_disable(host->dbclk); clk_disable(host->dbclk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment