[ARM] 3523/1: Serial core pm_state
commit1281e36027a9119356bd93b5e7853c72c35dd462
authorAndrew Victor <andrew@sanpeople.com>
Tue, 16 May 2006 10:28:49 +0000 (16 11:28 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 16 May 2006 10:28:49 +0000 (16 11:28 +0100)
treec10b62b061a3a3f74a1e94ac539345ebaf8708ed
parentc4694c76ce28dd7e415b4f3014d8c6e580b5f3d2
[ARM] 3523/1: Serial core pm_state

Patch from Andrew Victor

The serial_core already manages the power state of the UARTs, and
therefore it shouldn't suspend a UART which was previously suspended.

This patch modifies serial_core only call the UART-specific
power-management function if the PM state is actually changing.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/serial_core.c