diff options
author | Vikas Sajjan <vikas.sajjan@samsung.com> | 2014-09-24 09:45:13 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-10-20 17:06:35 +0200 |
commit | 32ed35ff22ec03d8a935dfe8b90c599da4b4cb02 (patch) | |
tree | 4423f15a2c17f83fed540d0b71cd3881ee9f3437 /arch/arm/mach-exynos/pm.c | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-32ed35ff22ec03d8a935dfe8b90c599da4b4cb02.tar.xz linux-32ed35ff22ec03d8a935dfe8b90c599da4b4cb02.zip |
ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c
Move the Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c to
make way for refactoring of pm.c and to create common functions across
exynos4 and exynos5250.
Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/pm.c')
-rw-r--r-- | arch/arm/mach-exynos/pm.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index abefacb45976..31e209b38f41 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -255,13 +255,8 @@ static void exynos_pm_prepare(void) s3c_pm_do_save(exynos_core_save, ARRAY_SIZE(exynos_core_save)); - if (soc_is_exynos5250()) { + if (soc_is_exynos5250()) s3c_pm_do_save(exynos5_sys_save, ARRAY_SIZE(exynos5_sys_save)); - /* Disable USE_RETENTION of JPEG_MEM_OPTION */ - tmp = pmu_raw_readl(EXYNOS5_JPEG_MEM_OPTION); - tmp &= ~EXYNOS5_OPTION_USE_RETENTION; - pmu_raw_writel(tmp, EXYNOS5_JPEG_MEM_OPTION); - } /* Set value of power down register for sleep mode */ |