OMAP: UART: don't do automatic bus-level suspend/resume
authorKevin Hilman <khilman@deeprootsystems.com>
Mon, 27 Sep 2010 14:49:53 +0000 (20:19 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 29 Sep 2010 19:42:58 +0000 (12:42 -0700)
commit3244fcd227526a2f21018a280c7af0a9219c6ff4
tree5c99bcb6e97df85ef5d597565e40b028711c6b47
parentc04ede382a64020f19e9aa23a85493a09af945d3
OMAP: UART: don't do automatic bus-level suspend/resume

Since the omap_device for UART is currently managed inside the idle
path itself,  don't let the bus-level code suspend/resume the UART.

To prevent this, pm_runtime_get() is used when preparing for suspend
and pm_runtime_put() is used when finished with suspend.

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