]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: serial: add modem-status-change wait queue
authorJohan Hovold <jhovold@gmail.com>
Tue, 19 Mar 2013 08:21:10 +0000 (09:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:26:03 +0000 (09:26 -0700)
commit86be053a795c17acaa6721dcc501a876368fd9d4
tree144dd8cdb0e0f6a04ac590811e8eae5c19729269
parent795dae3bdf2ecd7d325264e5527c76a647590f43
USB: serial: add modem-status-change wait queue

commit e5b33dc9d16053c2ae4c2c669cf008829530364b upstream.

Add modem-status-change wait queue to struct usb_serial_port that
subdrivers can use to implement TIOCMIWAIT.

Currently subdrivers use a private wait queue which may have been
released when waking up after device disconnected.

Note that we're adding a new wait queue rather than reusing the tty-port
one as we do not want to get woken up at hangup (yet).

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/serial.h