summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorPeter Hurley2014-11-05 19:11:42 +0100
committerGreg Kroah-Hartman2014-11-06 23:57:27 +0100
commitdb1b9dfcd622604b268234e01c539927093abce7 (patch)
treee9a4520f2af1b528ea865bf36f0fa2c93d7bfa6d /include/linux/serial_core.h
parenttty: Allow safe access to termios for set_ldisc() handlers (diff)
downloadkernel-qcow2-linux-db1b9dfcd622604b268234e01c539927093abce7.tar.gz
kernel-qcow2-linux-db1b9dfcd622604b268234e01c539927093abce7.tar.xz
kernel-qcow2-linux-db1b9dfcd622604b268234e01c539927093abce7.zip
serial: core: Claim port mutex for set_ldisc()
Three UART drivers (8250, atmel & amba-pl010) enable modem status interrupts if the line discipline is changed to N_PPS. However, the uart port flags may only be safely modified while holding the port mutex. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions