diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | 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 dc17d4097f9a..0d7a9795a6da 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c | |||
@@ -496,7 +496,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd) | |||
496 | * RPMB regions are defined in multiples of 128K. | 496 | * RPMB regions are defined in multiples of 128K. |
497 | */ | 497 | */ |
498 | card->ext_csd.raw_rpmb_size_mult = ext_csd[EXT_CSD_RPMB_MULT]; | 498 | card->ext_csd.raw_rpmb_size_mult = ext_csd[EXT_CSD_RPMB_MULT]; |
499 | if (ext_csd[EXT_CSD_RPMB_MULT]) { | 499 | if (ext_csd[EXT_CSD_RPMB_MULT] && mmc_host_cmd23(card->host)) { |
500 | mmc_part_add(card, ext_csd[EXT_CSD_RPMB_MULT] << 17, | 500 | mmc_part_add(card, ext_csd[EXT_CSD_RPMB_MULT] << 17, |
501 | EXT_CSD_PART_CONFIG_ACC_RPMB, | 501 | EXT_CSD_PART_CONFIG_ACC_RPMB, |
502 | "rpmb", 0, false, | 502 | "rpmb", 0, false, |