diff options
author | Tony Lindgren <tony@atomide.com> | 2012-03-09 05:41:35 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-27 18:20:05 +0200 |
commit | 37f6190d54f4d90b886784fadbb9cf82d5c8b1ef (patch) | |
tree | 714919e24dd772a225c3915c16d72b5928e9b63f /drivers/mmc | |
parent | mmc: core: Clean up after mmc_pre_req if card was removed (diff) | |
download | linux-37f6190d54f4d90b886784fadbb9cf82d5c8b1ef.tar.xz linux-37f6190d54f4d90b886784fadbb9cf82d5c8b1ef.zip |
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: Tony Lindgren <tony@atomide.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 98adf0c51e05..94d463859e9b 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1935,6 +1935,7 @@ err_irq_cd_init: err_irq: pm_runtime_mark_last_busy(host->dev); pm_runtime_put_autosuspend(host->dev); + pm_runtime_disable(host->dev); clk_put(host->fclk); if (host->got_dbclk) { clk_disable(host->dbclk); |