]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaeb673e09ee699cbd0b11ec1ffe86752feca5743
treedf81fad2260c03b712906a4440e486815e09fbbd
parent1d5b5c8ab4a5706b403b729e60caf5152947c762
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