aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/core.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index ab36c7b491f3..f091b43d00c4 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1832,6 +1832,10 @@ int mmc_power_save_host(struct mmc_host *host)
1832{ 1832{
1833 int ret = 0; 1833 int ret = 0;
1834 1834
1835#ifdef CONFIG_MMC_DEBUG
1836 pr_info("%s: %s: powering down\n", mmc_hostname(host), __func__);
1837#endif
1838
1835 mmc_bus_get(host); 1839 mmc_bus_get(host);
1836 1840
1837 if (!host->bus_ops || host->bus_dead || !host->bus_ops->power_restore) { 1841 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)
1854{ 1858{
1855 int ret; 1859 int ret;
1856 1860
1861#ifdef CONFIG_MMC_DEBUG
1862 pr_info("%s: %s: powering up\n", mmc_hostname(host), __func__);
1863#endif
1864
1857 mmc_bus_get(host); 1865 mmc_bus_get(host);
1858 1866
1859 if (!host->bus_ops || host->bus_dead || !host->bus_ops->power_restore) { 1867 if (!host->bus_ops || host->bus_dead || !host->bus_ops->power_restore) {