ARM: OMAP2+: UART: Get context loss count to context restore
authorGovindraj.R <govindraj.raja@ti.com>
Tue, 11 Oct 2011 13:41:27 +0000 (19:11 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Dec 2011 00:05:22 +0000 (16:05 -0800)
Avoid unconditional context restore every time we gate uart
clocks. Check whether context loss happened based on which
we can context restore uart regs from uart_port structure.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> (for drivers/tty changes)
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found