Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270240
b: refs/heads/master
c: 08da834
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Drake authored and Chris Ball committed Oct 26, 2011
1 parent 50c8e6e commit 7358cbd
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 1e4cb22bb5094def8eb5c3893f9dda2d517d29bb
refs/heads/master: 08da834a24312157f512224691ad1fddd11c1073
11 changes: 11 additions & 0 deletions trunk/drivers/mmc/core/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,17 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
host->max_blk_size = 512;
host->max_blk_count = PAGE_CACHE_SIZE / 512;

/*
* Enable runtime power management by default. This flag was added due
* to runtime power management causing disruption for some users, but
* the power on/off code has been improved since then.
*
* We'll enable this flag by default as an experiment, and if no
* problems are reported, we will follow up later and remove the flag
* altogether.
*/
host->caps = MMC_CAP_POWER_OFF_CARD;

return host;

free:
Expand Down

0 comments on commit 7358cbd

Please sign in to comment.