]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tty/serial: at91: BUG: disable interrupts when !UART_ENABLE_MS()
authorRichard Genoud <richard.genoud@gmail.com>
Wed, 3 Sep 2014 16:09:26 +0000 (18:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 20:41:08 +0000 (13:41 -0700)
commitf60133a908dcd92e2a3d8ff1bdd538c4ea049fbf
tree1575ca7213c429b85e0e95b176f8e8fa839efcb8
parent4e43bbd4ab386a70bca84000943254f6ccefce77
tty/serial: at91: BUG: disable interrupts when !UART_ENABLE_MS()

commit 35b675b9100fc38f58cb75b30e422ecd342519a8 upstream.

In set_termios(), interrupts where not disabled if UART_ENABLE_MS() was
false.

Tested on at91sam9g35.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c