diff options
author | Venkata(Muni) Anda <vanda@nvidia.com> | 2010-03-02 18:44:52 -0800 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-03-02 20:42:01 -0800 |
commit | 7a44e354c4cf1f369978efe679e7be888a7b47a4 (patch) | |
tree | d43fe2f6511f819a015e2f0e4bca49e64ea8d091 /drivers | |
parent | 0d9388dc448edfd80a7d073cc7dc8c23384f7f42 (diff) |
Proper fix for commit I5c6914ef8906eed80cba15249b0760d71e3d0255
csd_struct version on some of the cards is 4.4 cards is 3. This change
skips the check for that verison.
Change-Id: Ib44344237c99e1a52e1b3eb864e96194b090929b
Reviewed-on: http://git-master/r/739
Reviewed-by: Gary King <gking@nvidia.com>
Tested-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/mmc/core/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index f0f7703021fa..8a178b1278c3 100755 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -122,7 +122,7 @@ static int mmc_decode_csd(struct mmc_card *card) * v1.2 has extra information in bits 15, 11 and 10. */ csd_struct = UNSTUFF_BITS(resp, 126, 2); - if (csd_struct != 1 && csd_struct != 2) { + if (csd_struct != 1 && csd_struct != 2 && csd_struct != 3) { printk(KERN_ERR "%s: unrecognised CSD structure version %d\n", mmc_hostname(card->host), csd_struct); return -EINVAL; |