diff options
author | Balaji T K <balajitk@ti.com> | 2012-02-24 10:44:33 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-04-05 20:32:27 -0400 |
commit | d59d77ed1e0cdd254f99260013b27d64dc1dffac (patch) | |
tree | 8b33d0e23a0ec8e1b0886f820ebd0979815df891 /drivers/mmc | |
parent | e841a7c69b708eeaf784fd517978006e8319b03a (diff) |
mmc: omap_hsmmc: use runtime put sync in probe error patch
pm_runtime_put_sync instead of autosuspend pm runtime API
because iounmap(host->base) follows immediately.
Reported-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 47adb161d3ad..f15b04b9da27 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c | |||
@@ -2018,8 +2018,7 @@ err_reg: | |||
2018 | err_irq_cd_init: | 2018 | err_irq_cd_init: |
2019 | free_irq(host->irq, host); | 2019 | free_irq(host->irq, host); |
2020 | err_irq: | 2020 | err_irq: |
2021 | pm_runtime_mark_last_busy(host->dev); | 2021 | pm_runtime_put_sync(host->dev); |
2022 | pm_runtime_put_autosuspend(host->dev); | ||
2023 | pm_runtime_disable(host->dev); | 2022 | pm_runtime_disable(host->dev); |
2024 | clk_put(host->fclk); | 2023 | clk_put(host->fclk); |
2025 | if (host->got_dbclk) { | 2024 | if (host->got_dbclk) { |