[COMMON] ufs: add diskcipher debug
authorBoojin Kim <boojin.kim@samsung.com>
Tue, 15 May 2018 15:11:47 +0000 (00:11 +0900)
committerJunho Choi <junhosj.choi@samsung.com>
Thu, 24 May 2018 00:02:06 +0000 (09:02 +0900)
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;