summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/serial-tegra.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-11-08 17:29:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 06:59:48 +0300
commit63d8cb3f19dabb409a09b4f2b8827934ab9365a3 (patch)
treee6e253f2730c9cb0c1c152e8fb057ff95d5e139a /drivers/tty/serial/serial-tegra.c
parent5841fc4b136b8dbab551749d2b12d71628f34635 (diff)
downloadlinux-63d8cb3f19dabb409a09b4f2b8827934ab9365a3.tar.xz
tty: Simplify tty_set_ldisc() exit handling
Perform common exit for both successful and error exit handling in tty_set_ldisc(). Fixes unlikely possibility of failing to restart input kworker when switching to the same line discipline (noop case). Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial-tegra.c')
0 files changed, 0 insertions, 0 deletions