[COMMON] scsi: ufs: Fixed featuring regarding CPU_IDLE.
authorJang JeongHoon <jnghn.jang@samsung.com>
Fri, 18 May 2018 02:30:22 +0000 (11:30 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:10 +0000 (20:22 +0300)
Change-Id: Ia24ab2960929b103c33e594104e212ce7b9521e4
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
drivers/scsi/ufs/ufs-exynos.c

index 5e80b78298d3eea7486783f2532a671ea0353c31..5659b590f230d40dcfae609664e65eed231c9c27 100644 (file)
@@ -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