Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65626
b: refs/heads/master
c: e6f918b
h: refs/heads/master
v: v3
  • Loading branch information
Pierre Ossman committed Sep 23, 2007
1 parent a6ecc9f commit a45a14e
Show file tree
Hide file tree
Showing 2 changed files with 10 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: ce252edd869ba1fee6a9a6f83e20f349d4c4d669
refs/heads/master: e6f918bf39773d712ab5b457bff54ade3bda0cb1
9 changes: 9 additions & 0 deletions trunk/drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,15 @@ void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card)
{
unsigned int mult;

/*
* SDIO cards only define an upper 1 s limit on access.
*/
if (mmc_card_sdio(card)) {
data->timeout_ns = 1000000000;
data->timeout_clks = 0;
return;
}

/*
* SD cards use a 100 multiplier rather than 10
*/
Expand Down

0 comments on commit a45a14e

Please sign in to comment.