Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228910
b: refs/heads/master
c: 08c82df
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Chris Ball committed Jan 9, 2011
1 parent edbefaa commit c071739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f95f3850f7a9e1d49ebc5b6e72e7cc3ec3685b0b
refs/heads/master: 08c82dfad2458f8f9b83126224a85e7ea9e2b046
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/core/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,15 +558,15 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
EXT_CSD_BUS_WIDTH,
ext_csd_bits[idx][0]);
if (!err) {
mmc_set_bus_width_ddr(card->host,
bus_width, MMC_SDR_MODE);
/*
* If controller can't handle bus width test,
* use the highest bus width to maintain
* compatibility with previous MMC behavior.
*/
if (!(host->caps & MMC_CAP_BUS_WIDTH_TEST))
break;
mmc_set_bus_width_ddr(card->host,
bus_width, MMC_SDR_MODE);
err = mmc_bus_test(card, bus_width);
if (!err)
break;
Expand Down

0 comments on commit c071739

Please sign in to comment.