[Serial] Don't miss modem status changes
commit2af7cd68f1ed20e2e72c91988c3d4f457fa29ebc
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 4 Jan 2006 16:55:09 +0000 (4 16:55 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 4 Jan 2006 16:55:09 +0000 (4 16:55 +0000)
treea242ce0d1ecd154ef6bfa7aaf910a003bed3abdd
parent88026842b0a760145aa71d69e74fbc9ec118ca44
[Serial] Don't miss modem status changes

Reading the MSR register on 8250-compatible UARTs results in any
modem status interrupts being cleared.  To avoid missing any
status changes, arrange for get_mctrl() to read the current
status via check_modem_status(), which will process any pending
state changes for us.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/8250.c