serial: core: Use spin_lock_irq() in uart_set_termios()
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 10 Sep 2014 19:06:29 +0000 (15:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:19:35 +0000 (21:19 -0700)
commit938f7e13b55a76ad98964509f6d13bbcf852e617
treedf81fad2260c03b712906a4440e486815e09fbbd
parent8620d3e5382a3c172a7885fa67a70955ca930425
serial: core: Use spin_lock_irq() in uart_set_termios()

uart_set_termios() is called with interrupts enabled; no need to
save and restore the interrupt state when taking the uart port lock.

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