From 4be2ce1b85bcec765a05f3034a7eded78d6293f7 Mon Sep 17 00:00:00 2001 From: "Patil, Rachna" Date: Fri, 1 Mar 2013 09:16:45 +0530 Subject: [PATCH] ARM: OMAP: AM33XX: PM: Fix TSC disable in standby path Touchscreen once enabled in standby needs to be disabled again. Writing 0x02 will only re-enable touchscreen. Fix the same by writing 0x00 to the registers. Signed-off-by: Patil, Rachna --- arch/arm/mach-omap2/pm33xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/pm33xx.c b/arch/arm/mach-omap2/pm33xx.c index 748abc9..fcedcab 100644 --- a/arch/arm/mach-omap2/pm33xx.c +++ b/arch/arm/mach-omap2/pm33xx.c @@ -193,7 +193,7 @@ static int am33xx_pm_suspend(void) * Disable it here. */ if (suspend_state == PM_SUSPEND_STANDBY) - writel(0x2, AM33XX_CM_WKUP_ADC_TSC_CLKCTRL); + writel(0x0, AM33XX_CM_WKUP_ADC_TSC_CLKCTRL); /* * Put USB module to idle on resume from standby -- 1.9.1