Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307962
b: refs/heads/master
c: f6f4459
h: refs/heads/master
v: v3
  • Loading branch information
Philippe De Swert authored and Chris Ball committed May 10, 2012
1 parent e28c9fd commit 76bf007
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 1c02f000e78347aa51822feb189fcb0d90273958
refs/heads/master: f6f44590f231cdf914ce740f3a53a6b815bf4767
6 changes: 1 addition & 5 deletions trunk/drivers/mmc/core/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,14 +539,10 @@ static int mmc_compare_ext_csds(struct mmc_card *card, unsigned bus_width)
err = mmc_get_ext_csd(card, &bw_ext_csd);

if (err || bw_ext_csd == NULL) {
if (bus_width != MMC_BUS_WIDTH_1)
err = -EINVAL;
err = -EINVAL;
goto out;
}

if (bus_width == MMC_BUS_WIDTH_1)
goto out;

/* only compare read only fields */
err = !((card->ext_csd.raw_partition_support ==
bw_ext_csd[EXT_CSD_PARTITION_SUPPORT]) &&
Expand Down

0 comments on commit 76bf007

Please sign in to comment.