From: Peter Hurley Date: Wed, 5 Nov 2014 18:11:41 +0000 (-0500) Subject: tty: Allow safe access to termios for set_ldisc() handlers X-Git-Tag: omap-for-v3.19/fixes-rc1~86^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9191aaaa82d3149767125d58b2d260a3749d9f5e;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed