From ccb75c0fc7471eb2aaf525f27aa27aee63adcfa8 Mon Sep 17 00:00:00 2001 From: Jang JeongHoon Date: Fri, 18 May 2018 11:30:22 +0900 Subject: [PATCH] [COMMON] scsi: ufs: Fixed featuring regarding CPU_IDLE. Change-Id: Ia24ab2960929b103c33e594104e212ce7b9521e4 Signed-off-by: Jang JeongHoon --- drivers/scsi/ufs/ufs-exynos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c index 5e80b78298d3..5659b590f230 100644 --- a/drivers/scsi/ufs/ufs-exynos.c +++ b/drivers/scsi/ufs/ufs-exynos.c @@ -710,7 +710,7 @@ static int exynos_ufs_pre_setup_clocks(struct ufs_hba *hba, bool on) unsigned long flags; if (on) { -#ifdef CONFIG_CPU_IDLE +#ifdef CONFIG_ARM64_EXYNOS_CPUIDLE exynos_update_ip_idle_status(ufs->idle_ip_index, 0); #endif @@ -775,7 +775,7 @@ static int exynos_ufs_setup_clocks(struct ufs_hba *hba, bool on) } -#ifdef CONFIG_CPU_IDLE +#ifdef CONFIG_ARM64_EXYNOS_CPUIDLE exynos_update_ip_idle_status(ufs->idle_ip_index, 1); #endif } @@ -1292,7 +1292,7 @@ static int exynos_ufs_probe(struct platform_device *pdev) return ret; } } -#ifdef CONFIG_CPU_IDLE +#ifdef CONFIG_ARM64_EXYNOS_CPUIDLE ufs->idle_ip_index = exynos_get_idle_ip_index(dev_name(&pdev->dev)); exynos_update_ip_idle_status(ufs->idle_ip_index, 0); #endif -- 2.20.1