Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291879
b: refs/heads/master
c: efe6a8a
h: refs/heads/master
i:
  291877: b90cc6f
  291875: 7abe0db
  291871: 3beb60f
v: v3
  • Loading branch information
Rafael J. Wysocki committed Mar 13, 2012
1 parent 6046078 commit 70dad62
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: c419e611c3c59c0e48405c279e497c4bf1bf2cd2
refs/heads/master: efe6a8ad7fc55b350ce968cae4c757d35e986285
5 changes: 5 additions & 0 deletions trunk/drivers/mmc/host/sh_mmcif.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#include <linux/mmc/sh_mmcif.h>
#include <linux/pagemap.h>
#include <linux/platform_device.h>
#include <linux/pm_qos.h>
#include <linux/pm_runtime.h>
#include <linux/spinlock.h>
#include <linux/module.h>
Expand Down Expand Up @@ -1347,6 +1348,8 @@ static int __devinit sh_mmcif_probe(struct platform_device *pdev)

mmc_detect_change(host->mmc, 0);

dev_pm_qos_expose_latency_limit(&pdev->dev, 100);

dev_info(&pdev->dev, "driver version %s\n", DRIVER_VERSION);
dev_dbg(&pdev->dev, "chip ver H'%04x\n",
sh_mmcif_readl(host->addr, MMCIF_CE_VERSION) & 0x0000ffff);
Expand Down Expand Up @@ -1374,6 +1377,8 @@ static int __devexit sh_mmcif_remove(struct platform_device *pdev)
host->dying = true;
pm_runtime_get_sync(&pdev->dev);

dev_pm_qos_hide_latency_limit(&pdev->dev);

mmc_remove_host(host->mmc);
sh_mmcif_writel(host->addr, MMCIF_CE_INT_MASK, MASK_ALL);

Expand Down

0 comments on commit 70dad62

Please sign in to comment.