Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210456
b: refs/heads/master
c: 7c5367f
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Sep 10, 2010
1 parent 0ffaf68 commit 9d2e4ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: e7cb756fc3c7c32040283963572258381b342dff
refs/heads/master: 7c5367f205f7d53659fb19b9fdf65b7bc1a592c6
3 changes: 2 additions & 1 deletion trunk/drivers/mmc/host/imxmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,12 @@ static int imxmci_start_clock(struct imxmci_host *host)

while (delay--) {
reg = readw(host->base + MMC_REG_STATUS);
if (reg & STATUS_CARD_BUS_CLK_RUN)
if (reg & STATUS_CARD_BUS_CLK_RUN) {
/* Check twice before cut */
reg = readw(host->base + MMC_REG_STATUS);
if (reg & STATUS_CARD_BUS_CLK_RUN)
return 0;
}

if (test_bit(IMXMCI_PEND_STARTED_b, &host->pending_events))
return 0;
Expand Down

0 comments on commit 9d2e4ad

Please sign in to comment.