diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-03-19 09:21:10 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-04-25 20:22:10 +0100 |
commit | da07f4596510e8141e105c9502a25b568caba860 (patch) | |
tree | 1a63ab428be6e8b06ea11d481b89843798a28ff2 /drivers/usb/serial/usb-serial.c | |
parent | 93dfb878a5b870fb6a08e1c69d9046ebc4a4471e (diff) | |
download | kernel_samsung_smdk4412-da07f4596510e8141e105c9502a25b568caba860.zip kernel_samsung_smdk4412-da07f4596510e8141e105c9502a25b568caba860.tar.gz kernel_samsung_smdk4412-da07f4596510e8141e105c9502a25b568caba860.tar.bz2 |
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions