]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2xxx: PM: fix OMAP2xxx-specific UART idle bug in v3.3
authorPaul Walmsley <paul@pwsan.com>
Fri, 10 Feb 2012 01:24:03 +0000 (18:24 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Feb 2012 01:46:15 +0000 (17:46 -0800)
commit4220fdfe9f99bf3f61b4952bdac195e05624d372
tree364fc419b5f8340ab23605f8cbb6607ba6db8513
parentde3cf85abf9ce7a6271261d7a7966b99b12c223f
ARM: OMAP2xxx: PM: fix OMAP2xxx-specific UART idle bug in v3.3

On OMAP2420-based systems, the PM code ignores the state of the UART
functional clocks when determining what idle state to enter.  This
breaks the serial port now that the UART driver's clock behavior can
be controlled via the PM autosuspend timeout.

To fix, remove the special-case idle handling for the UARTs in the
OMAP2420/2430 PM idle code added by commit
a03426da0e83bfbec444ee3c057a65f891575e0a ("OMAP3: PM: UART: disable
clocks when idle and off-mode support").

Tested on Nokia N800.  This patch is a collaboration between Tony
Lindgren <tony@atomide.com> and Paul Walmsley <paul@pwsan.com>.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm24xx.c