From: Jang JeongHoon Date: Fri, 18 May 2018 02:30:22 +0000 (+0900) Subject: [COMMON] scsi: ufs: Fixed featuring regarding CPU_IDLE. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ccb75c0fc7471eb2aaf525f27aa27aee63adcfa8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] scsi: ufs: Fixed featuring regarding CPU_IDLE. Change-Id: Ia24ab2960929b103c33e594104e212ce7b9521e4 Signed-off-by: Jang JeongHoon --- 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