Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336294
b: refs/heads/master
c: f5ccfd4
h: refs/heads/master
v: v3
  • Loading branch information
Abhilash Kesavan authored and Chris Ball committed Dec 6, 2012
1 parent 4c5c2ef commit 4cf6578
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e5d0e9c567389e261fbad6311ea78e6b8d4a24e9
refs/heads/master: f5ccfd4174639119664b6d76495ea1388f13b838
6 changes: 6 additions & 0 deletions trunk/drivers/mmc/host/sdhci-pltfm.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ void sdhci_get_of_property(struct platform_device *pdev)
clk = of_get_property(np, "clock-frequency", &size);
if (clk && size == sizeof(*clk) && *clk)
pltfm_host->clock = be32_to_cpup(clk);

if (of_find_property(np, "keep-power-in-suspend", NULL))
host->mmc->pm_caps |= MMC_PM_KEEP_POWER;

if (of_find_property(np, "enable-sdio-wakeup", NULL))
host->mmc->pm_caps |= MMC_PM_WAKE_SDIO_IRQ;
}
}
#else
Expand Down

0 comments on commit 4cf6578

Please sign in to comment.