From e8167683348b5e2db30aec722c7706d68e616c00 Mon Sep 17 00:00:00 2001 From: Robin Peng Date: Tue, 31 Jan 2023 09:52:44 +0000 Subject: [PATCH] ANDROID: ufs: Enable CONFIG_SCSI_UFS_VARIABLE_SG_ENTRY_SIZE Since the Exynos UFS host controller driver is supported by the GKI kernel, CONFIG_SCSI_UFS_VARIABLE_SG_ENTRY_SIZE needs to be enabled. This CL is necessary because the Pixel 6/7 Exynos UFS host controller driver is not upstream and because the kernel configuration symbol that controls whether or not that driver is built is not present in the upstream kernel either (CONFIG_SCSI_UFS_EXYNOS_GS). Bug: 271162672 Change-Id: Ib74f2c2638b8de272edfb2b2e4d2d9f006468e51 Signed-off-by: Robin Peng [ bvanassche: modified CL title and rewrote CL description ] Signed-off-by: Bart Van Assche --- drivers/ufs/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ufs/host/Kconfig b/drivers/ufs/host/Kconfig index 139064e70a34..302709f47839 100644 --- a/drivers/ufs/host/Kconfig +++ b/drivers/ufs/host/Kconfig @@ -127,7 +127,7 @@ config SCSI_UFS_EXYNOS config SCSI_UFS_VARIABLE_SG_ENTRY_SIZE bool - default y if SCSI_UFS_EXYNOS && SCSI_UFS_CRYPTO + default y if SCSI_UFS_CRYPTO config SCSI_UFS_SPRD tristate "Unisoc specific hooks to UFS controller platform driver"