Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255245
b: refs/heads/master
c: bb9cab9
h: refs/heads/master
i:
  255243: 9ec5356
v: v3
  • Loading branch information
Daniel Drake authored and Chris Ball committed Jul 21, 2011
1 parent 4b7f842 commit 8d04959
Show file tree
Hide file tree
Showing 2 changed files with 9 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: ecc024419a13da1e589aebc422d9d1e3c0124ba4
refs/heads/master: bb9cab941c7139304899fa7922f3069bb2097f4e
8 changes: 8 additions & 0 deletions trunk/drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1832,6 +1832,10 @@ int mmc_power_save_host(struct mmc_host *host)
{
int ret = 0;

#ifdef CONFIG_MMC_DEBUG
pr_info("%s: %s: powering down\n", mmc_hostname(host), __func__);
#endif

mmc_bus_get(host);

if (!host->bus_ops || host->bus_dead || !host->bus_ops->power_restore) {
Expand All @@ -1854,6 +1858,10 @@ int mmc_power_restore_host(struct mmc_host *host)
{
int ret;

#ifdef CONFIG_MMC_DEBUG
pr_info("%s: %s: powering up\n", mmc_hostname(host), __func__);
#endif

mmc_bus_get(host);

if (!host->bus_ops || host->bus_dead || !host->bus_ops->power_restore) {
Expand Down

0 comments on commit 8d04959

Please sign in to comment.