From 8d04959d877c8bafd5a3c231155960b26d261c37 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Sun, 17 Jul 2011 16:38:41 +0100 Subject: [PATCH] --- yaml --- r: 255245 b: refs/heads/master c: bb9cab941c7139304899fa7922f3069bb2097f4e h: refs/heads/master i: 255243: 9ec53565a5d03c45b3462ba56ecbe735f961083d v: v3 --- [refs] | 2 +- trunk/drivers/mmc/core/core.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9d4bc2ba01be..20a9a03caf06 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ecc024419a13da1e589aebc422d9d1e3c0124ba4 +refs/heads/master: bb9cab941c7139304899fa7922f3069bb2097f4e diff --git a/trunk/drivers/mmc/core/core.c b/trunk/drivers/mmc/core/core.c index ab36c7b491f3..f091b43d00c4 100644 --- a/trunk/drivers/mmc/core/core.c +++ b/trunk/drivers/mmc/core/core.c @@ -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) { @@ -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) {