ARM: OMAP: serial: Fix the ocp smart idlemode handling bug
commitcbd267314935af45bca6fcaabc99d6fa1268ec4c
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 13 Apr 2012 17:55:04 +0000 (13 23:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 17:16:34 +0000 (27 10:16 -0700)
tree585820f36857a60c8c36c3903fda8d9dfc798115
parentbf7e0bbbd566798fa1426d318284a1c3362a7890
ARM: OMAP: serial: Fix the ocp smart idlemode handling bug

commit 5ae256dcd91bf308826a4ac19598b27ebb86a536 upstream.

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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/serial.c