Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270303
b: refs/heads/master
c: f2815f6
h: refs/heads/master
i:
  270301: 8532ad9
  270299: 177b986
  270295: d3030e8
  270287: e19a741
  270271: bdb7c70
v: v3
  • Loading branch information
Subhash Jadavani authored and Chris Ball committed Oct 26, 2011
1 parent 929a372 commit 4bb9aa6
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: eb0d8f135b6730d6d0324a064664d121334290e7
refs/heads/master: f2815f68dabbb373fd1c9f0fd4a609d486697c2b
6 changes: 3 additions & 3 deletions trunk/drivers/mmc/core/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@ static int mmc_read_switch(struct mmc_card *card)
goto out;
}

if (status[13] & UHS_SDR50_BUS_SPEED)
card->sw_caps.hs_max_dtr = 50000000;

if (card->scr.sda_spec3) {
card->sw_caps.sd3_bus_mode = status[13];

Expand Down Expand Up @@ -348,9 +351,6 @@ static int mmc_read_switch(struct mmc_card *card)
}

card->sw_caps.sd3_curr_limit = status[7];
} else {
if (status[13] & 0x02)
card->sw_caps.hs_max_dtr = 50000000;
}

out:
Expand Down

0 comments on commit 4bb9aa6

Please sign in to comment.