summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2018-03-13 11:04:51 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-03-29 07:06:08 -0400
commit8919d779f1fd1ea8b06a46249f1a13c835b736af (patch)
treeab742b97c0189075bcf8639ae30effcec3e4d74c /drivers/cpuidle
parenta37b969a61c1efcd16da9c9ab3b237235c48560c (diff)
cpuidle: Enable coupled cpuidle support on Exynos3250 platform
All the needed code has been already merged to mach-exynos core in commit af9971144dde ("ARM: EXYNOS: add coupled cpuidle support for Exynos3250"), so enable support for coupled variant also for Exynos3250 SoCs. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle-exynos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c
index 00cd129b10a4..0171a6e190d7 100644
--- a/drivers/cpuidle/cpuidle-exynos.c
+++ b/drivers/cpuidle/cpuidle-exynos.c
@@ -117,7 +117,8 @@ static int exynos_cpuidle_probe(struct platform_device *pdev)
117 int ret; 117 int ret;
118 118
119 if (IS_ENABLED(CONFIG_SMP) && 119 if (IS_ENABLED(CONFIG_SMP) &&
120 of_machine_is_compatible("samsung,exynos4210")) { 120 (of_machine_is_compatible("samsung,exynos4210") ||
121 of_machine_is_compatible("samsung,exynos3250"))) {
121 exynos_cpuidle_pdata = pdev->dev.platform_data; 122 exynos_cpuidle_pdata = pdev->dev.platform_data;
122 123
123 ret = cpuidle_register(&exynos_coupled_idle_driver, 124 ret = cpuidle_register(&exynos_coupled_idle_driver,