ARM: OMAP2+: UART: Avoid uart idling on suspend for no_console_suspend usecase
authorGovindraj.R <govindraj.raja@ti.com>
Tue, 18 Oct 2011 11:39:10 +0000 (17:09 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Dec 2011 00:05:26 +0000 (16:05 -0800)
commit08f86b3eab9807e6d36de7e00025abad893ff557
tree6f44b56d6cb9c0b49e0750e18f9465e1d2f5ee9d
parent8612bd22f30369745d0fda0d540aca39ab591cc5
ARM: OMAP2+: UART: Avoid uart idling on suspend for no_console_suspend usecase

If no_console_suspend is used we have prevent uart idling during suspend
to provide debug prints.

Power domain hooks can idle uarts if left enabled during system wide suspend
so re-use the omap_device_disable_idle_on_suspend API's to ensure console_uart
is not idled during suspend.

omap_device_disable_idle_on_suspend API was used on all uarts since the uart
driver was not runtime adapted, now with runtime adaptation we can re-use this
API only for no_console_suspend use cases.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/serial.c