Skip to content

Commit

Permalink
mmc: increase read and write timeouts for bad SDHC cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Gokhan Moral committed Sep 5, 2012
1 parent b770e6f commit 454eaaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,9 @@ void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card)
* The limit is really 250 ms, but that is
* insufficient for some crappy cards.
*/
limit_us = 300000;
limit_us = 800000;
else
limit_us = 100000;
limit_us = 300000;

/*
* SDHC cards always use these fixed values.
Expand Down

0 comments on commit 454eaaa

Please sign in to comment.