Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41443
b: refs/heads/master
c: 7377812
h: refs/heads/master
i:
  41441: 6409235
  41439: 4bb8223
v: v3
  • Loading branch information
Pierre Ossman committed Dec 1, 2006
1 parent b1fd9c5 commit 55a51b0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e45a1bd20fa5b920901879e85cdf5eda21f78d7c
refs/heads/master: 73778120c4088a0a7b59c4c378904f7a230b4820
6 changes: 3 additions & 3 deletions trunk/drivers/mmc/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,11 +454,11 @@ static void mmc_deselect_cards(struct mmc_host *host)

static inline void mmc_delay(unsigned int ms)
{
if (ms < HZ / 1000) {
yield();
if (ms < 1000 / HZ) {
cond_resched();
mdelay(ms);
} else {
msleep_interruptible (ms);
msleep(ms);
}
}

Expand Down

0 comments on commit 55a51b0

Please sign in to comment.