summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-03-10 11:54:36 +0100
committerKukjin Kim <kgene.kim@samsung.com>2012-03-10 11:54:36 +0100
commit7537147710b5a3be5d7ff046d8c3c3f8e5e6a186 (patch)
tree5988d26abd82c3678be3de0f2c7493a4d0093a88
parentARM: EXYNOS: Hook up G2D PD to generic PD infrastructure (diff)
downloadlinux-7537147710b5a3be5d7ff046d8c3c3f8e5e6a186.tar.xz
linux-7537147710b5a3be5d7ff046d8c3c3f8e5e6a186.zip
ARM: EXYNOS: Hook up JPEG PD to generic PD infrastructure
Add JPEG power domain (PD) to generic power domain infrastructure. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/mach-exynos/pm_domains.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c
index a84df720c556..13b306808b42 100644
--- a/arch/arm/mach-exynos/pm_domains.c
+++ b/arch/arm/mach-exynos/pm_domains.c
@@ -186,6 +186,9 @@ static __init int exynos4_pm_init_power_domain(void)
#ifdef CONFIG_S5P_DEV_G2D
exynos_pm_add_dev_to_genpd(&s5p_device_g2d, &exynos4_pd_lcd0);
#endif
+#ifdef CONFIG_S5P_DEV_JPEG
+ exynos_pm_add_dev_to_genpd(&s5p_device_jpeg, &exynos4_pd_cam);
+#endif
return 0;
}
arch_initcall(exynos4_pm_init_power_domain);