Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68e529db authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Update check for enhanced rpmb support"

parents d79aa3e4 a9e985d3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -673,9 +673,6 @@ static int mmc_decode_ext_csd(struct mmc_card *card, u8 *ext_csd)
				mmc_hostname(card->host),
				card->ext_csd.cmdq_depth);
		}
		card->ext_csd.enhanced_rpmb_supported =
			(card->ext_csd.rel_param &
			 EXT_CSD_WR_REL_PARAM_EN_RPMB_REL_WR);
	} else {
		card->ext_csd.cmdq_support = 0;
		card->ext_csd.cmdq_depth = 0;
@@ -714,6 +711,9 @@ static int mmc_decode_ext_csd(struct mmc_card *card, u8 *ext_csd)
				 mmc_hostname(card->host),
				 card->ext_csd.cmdq_depth);
		}
		card->ext_csd.enhanced_rpmb_supported =
			(card->ext_csd.rel_param &
			 EXT_CSD_WR_REL_PARAM_EN_RPMB_REL_WR);
	}
out:
	return err;