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>
Mon, 8 Sep 2014 23:33:56 +0000 (16:33 -0700)
commit35b675b9100fc38f58cb75b30e422ecd342519a8
tree51ebb714a6fb43985ab39c6016df92bb16182131
parentf174442ed1afd6003a630a8ad230f629fddbf2ee
tty/serial: at91: BUG: disable interrupts when !UART_ENABLE_MS()

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>
Cc: stable <stable@vger.kernel.org> # >= 3.16
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