commit | 2d68655d15bc99981394f7caa769a14b03cac131 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Apr 09 17:53:23 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 30 09:26:55 2016 -0700 |
tree | a61f1f9ffe92c21ff69fdd3f09c8f921f0670fcf | |
parent | 807c8d81f4ec441241cafa3034c58df721fee869 [diff] |
tty: Replace ASYNC_CHECK_CD and update atomically Replace ASYNC_CHECK_CD bit in the tty_port::flags field with TTY_PORT_CHECK_CD bit in the tty_port::iflags field. Introduce helpers tty_port_set_check_carrier() and tty_port_check_carrier() to abstract the atomic bit ops. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>