From 2eafbd4f04ef944fe202023534d0f993f0cbf40b Mon Sep 17 00:00:00 2001 From: Jang JeongHoon Date: Fri, 18 May 2018 11:31:06 +0900 Subject: [PATCH] [COMMON] usb: Fixed featuring regarding CPU_IDLE. Change-Id: I466304be334e2fbbe7421cfaeda5da7499eed1d4 Signed-off-by: Jang JeongHoon --- drivers/usb/dwc3/dwc3-exynos.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c index 353e1b588b35..d2fb09da3e40 100644 --- a/drivers/usb/dwc3/dwc3-exynos.c +++ b/drivers/usb/dwc3/dwc3-exynos.c @@ -34,7 +34,7 @@ #include #include -#ifdef CONFIG_CPU_IDLE +#ifdef CONFIG_ARM64_EXYNOS_CPUIDLE #include #endif @@ -425,7 +425,7 @@ static int dwc3_exynos_probe(struct platform_device *pdev) exynos->dev = dev; -#ifdef CONFIG_CPU_IDLE +#ifdef CONFIG_ARM64_EXYNOS_CPUIDLE exynos->idle_ip_index = exynos_get_idle_ip_index(dev_name(dev)); exynos_update_ip_idle_status(exynos->idle_ip_index, 0); #endif @@ -544,7 +544,7 @@ static int dwc3_exynos_runtime_suspend(struct device *dev) dwc3_exynos_clk_disable(exynos); -#ifdef CONFIG_CPU_IDLE +#ifdef CONFIG_ARM64_EXYNOS_CPUIDLE /* inform what USB state is idle to IDLE_IP */ exynos_update_ip_idle_status(exynos->idle_ip_index, 1); #endif @@ -559,7 +559,7 @@ static int dwc3_exynos_runtime_resume(struct device *dev) dev_info(dev, "%s\n", __func__); -#ifdef CONFIG_CPU_IDLE +#ifdef CONFIG_ARM64_EXYNOS_CPUIDLE /* inform what USB state is not idle to IDLE_IP */ exynos_update_ip_idle_status(exynos->idle_ip_index, 0); #endif -- 2.20.1