serial: Take uart port lock for direct *_enable_ms()
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 18:11:44 +0000 (13:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:27 +0000 (14:57 -0800)
commitd41510ce2f071c9ccb1903d7a5135443a57dbe4e
tree95982bb680036f763edb530bce025f77b0d344f8
parent732a84a037a4de29b54e0b4e6cb6f9b3813e29e5
serial: Take uart port lock for direct *_enable_ms()

Three UART drivers (8250, atmel & amba-pl010) directly call their
enable_ms() method; the uart port lock must be acquired before
any h/w programming.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/amba-pl010.c
drivers/tty/serial/atmel_serial.c