]> git.baikalelectronics.ru Git - kernel.git/commit
serial: Test/disable MSIs if switching from N_PPS
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 18:11:45 +0000 (13:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:27 +0000 (14:57 -0800)
commitd3ed5b74f7751b88d45c5418cc11d9a16361f710
tree77aa632377f99150cf70619a389a3de2790f2d86
parente24fe2f514ee1231b033b3197698d8de0e0f665f
serial: Test/disable MSIs if switching from N_PPS

Switching to the N_PPS line discipline may require enabling
modem status interrupts; conversely switching from N_PPS may
require disabling modem status interrupts.

Affected drivers:
8250
amba-pl010
atmel

Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Russell King <linux@arm.linux.org.uk>
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