Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149457
b: refs/heads/master
c: 8dfd037
h: refs/heads/master
i:
  149455: 3018938
v: v3
  • Loading branch information
Sascha Hauer authored and Pierre Ossman committed Jun 13, 2009
1 parent 82a6fa7 commit b4e833b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae628903ab6cc9a04fdf8d4ff3f0c5b2ffa6f939
refs/heads/master: 8dfd0374be84793360db7fff2e635d2cd3bbcb21
8 changes: 7 additions & 1 deletion trunk/drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,13 @@ static void mmc_power_up(struct mmc_host *host)
*/
mmc_delay(10);

host->ios.clock = host->f_min;
if (host->f_min > 400000) {
pr_warning("%s: Minimum clock frequency too high for "
"identification mode\n", mmc_hostname(host));
host->ios.clock = host->f_min;
} else
host->ios.clock = 400000;

host->ios.power_mode = MMC_POWER_ON;
mmc_set_ios(host);

Expand Down

0 comments on commit b4e833b

Please sign in to comment.