aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/core/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index d584f7ca168c..0cbd1effe960 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -369,13 +369,13 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
369 ext_csd[EXT_CSD_SEC_FEATURE_SUPPORT]; 369 ext_csd[EXT_CSD_SEC_FEATURE_SUPPORT];
370 card->ext_csd.raw_trim_mult = 370 card->ext_csd.raw_trim_mult =
371 ext_csd[EXT_CSD_TRIM_MULT]; 371 ext_csd[EXT_CSD_TRIM_MULT];
372 card->ext_csd.raw_partition_support = ext_csd[EXT_CSD_PARTITION_SUPPORT];
372 if (card->ext_csd.rev >= 4) { 373 if (card->ext_csd.rev >= 4) {
373 /* 374 /*
374 * Enhanced area feature support -- check whether the eMMC 375 * Enhanced area feature support -- check whether the eMMC
375 * card has the Enhanced area enabled. If so, export enhanced 376 * card has the Enhanced area enabled. If so, export enhanced
376 * area offset and size to user by adding sysfs interface. 377 * area offset and size to user by adding sysfs interface.
377 */ 378 */
378 card->ext_csd.raw_partition_support = ext_csd[EXT_CSD_PARTITION_SUPPORT];
379 if ((ext_csd[EXT_CSD_PARTITION_SUPPORT] & 0x2) && 379 if ((ext_csd[EXT_CSD_PARTITION_SUPPORT] & 0x2) &&
380 (ext_csd[EXT_CSD_PARTITION_ATTRIBUTE] & 0x1)) { 380 (ext_csd[EXT_CSD_PARTITION_ATTRIBUTE] & 0x1)) {
381 hc_erase_grp_sz = 381 hc_erase_grp_sz =