summaryrefslogtreecommitdiffstats
path: root/crypto/ablk_helper.c
diff options
context:
space:
mode:
authorPeter Hurley2014-11-05 19:11:41 +0100
committerGreg Kroah-Hartman2014-11-06 23:57:27 +0100
commit9191aaaa82d3149767125d58b2d260a3749d9f5e (patch)
treec551a4b7588fb105c12c45fad1eec2dddff1541d /crypto/ablk_helper.c
parenttty: Flush tty buffers after hardware shutdown (diff)
downloadkernel-qcow2-linux-9191aaaa82d3149767125d58b2d260a3749d9f5e.tar.gz
kernel-qcow2-linux-9191aaaa82d3149767125d58b2d260a3749d9f5e.tar.xz
kernel-qcow2-linux-9191aaaa82d3149767125d58b2d260a3749d9f5e.zip
tty: Allow safe access to termios for set_ldisc() handlers
Allow a tty driver to safely access termios settings while handling the set_ldisc() notification. UART drivers use the set_ldisc() notification to check if the N_PPS line discipline is being enabled; if so, modem status interrupts may also need to be enabled. Conversely, modem status interrupts may need to be disabled if switching away from the N_PPS line discipline. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/ablk_helper.c')
0 files changed, 0 insertions, 0 deletions