aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210/pm.c
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2017-01-26 10:29:26 +0100
committerLinus Walleij <[email protected]>2017-01-26 16:57:03 +0100
commitdabd14569299c34f8c32b87760b464de6ed3f350 (patch)
tree6dabea663a33fa7221e8fcdd8eeb2436c417a364 /arch/arm/mach-s5pv210/pm.c
parent07731019c59c06e257aac351d774b2292c251dde (diff)
pinctrl: samsung: Move retention control from mach-s5pv210 to the pinctrl driver
This patch moves pad retention control from S5PV210 machine code to Exynos pin controller driver. This helps to avoid possible ordering and logical dependencies between machine and pin control code. Till now it worked fine only because sys_ops for machine code and pin controller were called in registration order. Signed-off-by: Marek Szyprowski <[email protected]> Acked-by: Tomasz Figa <[email protected]> For mach-s5pv210: Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'arch/arm/mach-s5pv210/pm.c')
-rw-r--r--arch/arm/mach-s5pv210/pm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-s5pv210/pm.c b/arch/arm/mach-s5pv210/pm.c
index 21b4b13c5ab7..7d69666de5ba 100644
--- a/arch/arm/mach-s5pv210/pm.c
+++ b/arch/arm/mach-s5pv210/pm.c
@@ -155,13 +155,6 @@ static const struct platform_suspend_ops s5pv210_suspend_ops = {
*/
static void s5pv210_pm_resume(void)
{
- u32 tmp;
-
- tmp = __raw_readl(S5P_OTHERS);
- tmp |= (S5P_OTHERS_RET_IO | S5P_OTHERS_RET_CF |\
- S5P_OTHERS_RET_MMC | S5P_OTHERS_RET_UART);
- __raw_writel(tmp , S5P_OTHERS);
-
s3c_pm_do_restore_core(s5pv210_core_save, ARRAY_SIZE(s5pv210_core_save));
}