aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/mmc.c')
-rw-r--r--drivers/mmc/core/mmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 65fe28860f54..68c0e3b2f0e8 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -213,7 +213,8 @@ static int mmc_read_ext_csd(struct mmc_card *card)
213 printk(KERN_ERR "%s: unrecognised EXT_CSD structure " 213 printk(KERN_ERR "%s: unrecognised EXT_CSD structure "
214 "version %d\n", mmc_hostname(card->host), 214 "version %d\n", mmc_hostname(card->host),
215 ext_csd_struct); 215 ext_csd_struct);
216 return -EINVAL; 216 err = -EINVAL;
217 goto out;
217 } 218 }
218 219
219 if (ext_csd_struct >= 2) { 220 if (ext_csd_struct >= 2) {