]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP2: PM: check UART status before trying to idle
authorKevin Hilman <khilman@deeprootsystems.com>
Fri, 8 Oct 2010 17:23:32 +0000 (10:23 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Oct 2010 17:23:32 +0000 (10:23 -0700)
commit53e125358fd6a50ede553dc14df2fb4a2f3b9fb1
treefc07ee0f483c3e07a9d52d484c6a80987ed428de
parent0b3339806b03b4f84e8f0a065d7a4e0032466b25
OMAP2: PM: check UART status before trying to idle

As is done on OMAP3, check omap_uart_can_sleep() as one of the
pre-conditions for entering the idle loop.  Without this check,
entering idle introduces large latencies on active UARTs, and is
especially noticable on serial console.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm24xx.c