ARM: OMAP: serial: Fix the ocp smart idlemode handling bug
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 13 Apr 2012 17:55:04 +0000 (23:25 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 17 Apr 2012 19:23:45 +0000 (12:23 -0700)
commit5ae256dcd91bf308826a4ac19598b27ebb86a536
treeb0a8635e5f9a9b678c7e343d6fd9d29b802ff1f8
parentbce492c04ba8fc66a4ea0a52b181ba255daaaf54
ARM: OMAP: serial: Fix the ocp smart idlemode handling bug

The current serial UART code, while fidling with ocp idlemode bits,
forget about the smart idle wakeup bit even if it is supported by
UART IP block. This will lead to missing the module wakeup on OMAP's
where the smart idle wakeup is supported.

This was the root cause of the console sluggishness issue, I have been
observing on OMAP4 devices and also can be potential reason for some
other UART wakeup issues.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Acked-by: Govindraj.R <govindraj.raja@ti.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/serial.c