From: Boojin Kim Date: Tue, 15 May 2018 15:11:47 +0000 (+0900) Subject: [COMMON] ufs: add diskcipher debug X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5541ee92cd7f140b87466e153826265cffd34bfc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] ufs: add diskcipher debug Change-Id: I0712835f8223596f16f370e2ea89fe00f28a4c6a Signed-off-by: Boojin Kim --- diff --git a/drivers/scsi/ufs/ufs-exynos-fmp.c b/drivers/scsi/ufs/ufs-exynos-fmp.c index 75aa28b334a4..7ec80de80e1b 100644 --- a/drivers/scsi/ufs/ufs-exynos-fmp.c +++ b/drivers/scsi/ufs/ufs-exynos-fmp.c @@ -136,9 +136,7 @@ int exynos_ufs_fmp_cfg(struct ufs_hba *hba, return 0; } #endif -#ifdef FS_ENCRYPTION_DEBUG - crypto_diskcipher_check_fscrypt(bio, sg_page(sg)); -#endif + crypto_diskcipher_check(bio); if (crypto_diskcipher_set_crypt(dtfm, &req)) { pr_warn("%s: fails to set crypt\n", __func__); return -EINVAL;