OMAP2: PM: check UART status before trying to idle
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 6 Oct 2010 15:52:18 +0000 (15:52 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Oct 2010 19:35:41 +0000 (12:35 -0700)
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>

No differences found