Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291878
b: refs/heads/master
c: c419e61
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Mar 13, 2012
1 parent b90cc6f commit 6046078
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 85dc0b8a4019e38ad4fd0c008f89a5c241805ac2
refs/heads/master: c419e611c3c59c0e48405c279e497c4bf1bf2cd2
5 changes: 5 additions & 0 deletions trunk/drivers/mmc/host/tmio_mmc_pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <linux/module.h>
#include <linux/pagemap.h>
#include <linux/platform_device.h>
#include <linux/pm_qos.h>
#include <linux/pm_runtime.h>
#include <linux/scatterlist.h>
#include <linux/workqueue.h>
Expand Down Expand Up @@ -951,6 +952,8 @@ int __devinit tmio_mmc_host_probe(struct tmio_mmc_host **host,

mmc_add_host(mmc);

dev_pm_qos_expose_latency_limit(&pdev->dev, 100);

/* Unmask the IRQs we want to know about */
if (!_host->chan_rx)
irq_mask |= TMIO_MASK_READOP;
Expand Down Expand Up @@ -989,6 +992,8 @@ void tmio_mmc_host_remove(struct tmio_mmc_host *host)
|| host->mmc->caps & MMC_CAP_NONREMOVABLE)
pm_runtime_get_sync(&pdev->dev);

dev_pm_qos_hide_latency_limit(&pdev->dev);

mmc_remove_host(host->mmc);
cancel_work_sync(&host->done);
cancel_delayed_work_sync(&host->delayed_reset_work);
Expand Down

0 comments on commit 6046078

Please sign in to comment.