|
@@ -534,7 +534,7 @@ int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
|
|
timeout_ms = MMC_OPS_TIMEOUT_MS;
|
|
timeout_ms = MMC_OPS_TIMEOUT_MS;
|
|
|
|
|
|
/* Must check status to be sure of no errors. */
|
|
/* Must check status to be sure of no errors. */
|
|
- timeout = jiffies + msecs_to_jiffies(timeout_ms);
|
|
|
|
|
|
+ timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1;
|
|
do {
|
|
do {
|
|
/*
|
|
/*
|
|
* Due to the possibility of being preempted after
|
|
* Due to the possibility of being preempted after
|