aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/host.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 793d0a0dad8d..ca2e4f50f615 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
@@ -301,6 +301,17 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
301 host->max_blk_size = 512; 301 host->max_blk_size = 512;
302 host->max_blk_count = PAGE_CACHE_SIZE / 512; 302 host->max_blk_count = PAGE_CACHE_SIZE / 512;
303 303
304 /*
305 * Enable runtime power management by default. This flag was added due
306 * to runtime power management causing disruption for some users, but
307 * the power on/off code has been improved since then.
308 *
309 * We'll enable this flag by default as an experiment, and if no
310 * problems are reported, we will follow up later and remove the flag
311 * altogether.
312 */
313 host->caps = MMC_CAP_POWER_OFF_CARD;
314
304 return host; 315 return host;
305 316
306free: 317free: