serdev: ttyport: ignore carrier detect to avoid hangups
authorJohan Hovold <johan@kernel.org>
Fri, 3 Nov 2017 14:30:58 +0000 (15:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 15:03:35 +0000 (16:03 +0100)
commitcda64188ca918fcddc8c6e89bbee5a38b029117a
tree89aaae796b9c24dab36f17cfe6f71b678f86f878
parent51899a63b42ee01df676b0624df4e81a517c3571
serdev: ttyport: ignore carrier detect to avoid hangups

Serdev currently does not support hangups so make sure to set CLOCAL to
prevent loss of carrier from triggering one.

Note however that not all tty drivers honour CLOCAL.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/serdev-ttyport.c