Commit 4be2ce1b85bcec765a05f3034a7eded78d6293f7

Authored by Patil, Rachna
1 parent 2ab9b41a1a

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 <rachna@ti.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/arm/mach-omap2/pm33xx.c
... ... @@ -193,7 +193,7 @@
193 193 * Disable it here.
194 194 */
195 195 if (suspend_state == PM_SUSPEND_STANDBY)
196   - writel(0x2, AM33XX_CM_WKUP_ADC_TSC_CLKCTRL);
  196 + writel(0x0, AM33XX_CM_WKUP_ADC_TSC_CLKCTRL);
197 197  
198 198 /*
199 199 * Put USB module to idle on resume from standby