]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - include/linux/serial_core.h
serial: core: Pass termios to set_ldisc() notifications
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 18:11:43 +0000 (13:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:27 +0000 (14:57 -0800)
commit732a84a037a4de29b54e0b4e6cb6f9b3813e29e5
tree2d55d15f19bbd875f16b1082d231dad0ca939136
parentdb1b9dfcd622604b268234e01c539927093abce7
serial: core: Pass termios to set_ldisc() notifications

UART drivers which enable modem status interrupts when switching
to N_PPS line discipline need to determine if modem status
interrupts should be disabled when switching from N_PPS.
Specifically, the set_ldisc() notification needs to evaluate
UART_ENABLE_MS() which requires termios->c_cflag.

Convert in-tree UART drivers to new interface.

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
drivers/tty/serial/bfin_uart.c
drivers/tty/serial/clps711x.c
drivers/tty/serial/serial_core.c
include/linux/serial_core.h