[COMMON] ufs: add diskcipher debug
authorBoojin Kim <boojin.kim@samsung.com>
Tue, 15 May 2018 15:11:47 +0000 (00:11 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:12 +0000 (20:22 +0300)
Change-Id: I0712835f8223596f16f370e2ea89fe00f28a4c6a
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
drivers/scsi/ufs/ufs-exynos-fmp.c

index 75aa28b334a4dd6c4819bb194639771f06aea644..7ec80de80e1b2e7f1d1df3854c707ea7ab7f4b85 100644 (file)
@@ -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;