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

Commit 4f97e2b4 authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti Committed by Divya Sharma
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 048d4a98
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4987,6 +4987,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);