Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298817
b: refs/heads/master
c: 3bdc9ba
h: refs/heads/master
i:
  298815: 37f2907
v: v3
  • Loading branch information
Paul Walmsley authored and Chris Ball committed Apr 6, 2012
1 parent af7a94f commit f4da096
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 8c2fc8e413ecc2c96b696e28d4eb1bc6cee8dc84
refs/heads/master: 3bdc9ba892d6a294d16e9e6e0c4041926aa3d58c
10 changes: 7 additions & 3 deletions trunk/drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,14 @@ void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card)

if (data->flags & MMC_DATA_WRITE)
/*
* The limit is really 250 ms, but that is
* insufficient for some crappy cards.
* The MMC spec "It is strongly recommended
* for hosts to implement more than 500ms
* timeout value even if the card indicates
* the 250ms maximum busy length." Even the
* previous value of 300ms is known to be
* insufficient for some cards.
*/
limit_us = 300000;
limit_us = 3000000;
else
limit_us = 100000;

Expand Down

0 comments on commit f4da096

Please sign in to comment.