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

Commit fe3088f6 authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti Committed by Gerrit - the friendly Code Review server
Browse files

mmc: msm-host: Set inline-crypto support host flag



Set inline-crypto support host flag if sdhc controller is capable
do performing inline encryption/decryption.

Change-Id: I72a0443ad44f550aa49dbd558a378eaa63377166
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
parent 495ff45e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5075,6 +5075,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
			goto vreg_deinit;
		}
		host->is_crypto_en = true;
		msm_host->mmc->inlinecrypt_support = true;
		/* Packed commands cannot be encrypted/decrypted using ICE */
		msm_host->mmc->caps2 &= ~(MMC_CAP2_PACKED_WR |
				MMC_CAP2_PACKED_WR_CONTROL);