aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2013-03-21 12:36:53 +0100
committerGreg Kroah-Hartman <[email protected]>2013-03-25 13:50:51 -0700
commitc371de14b9a23aadb57accab0ca2e5dd28de7f16 (patch)
treeaec827c692f6574509ca8eb7a00278e4926d7cc4 /include/linux
parent980373b7918b8023be6b7df03857f494ae124d0b (diff)
USB: serial: wake up MSR-wait queue on disconnect
Make sure processes waiting for modem-status changes are woken up at disconnect. This is needed for custom subdriver TIOCMIWAIT-implementations which do not yet handle hangup. Even though processes on the tty-port wait queue are woken up at hangup the wake-up call in usb-serial disconnect is still needed if a woken-up process may go back to sleep (e.g. due to an incomplete TIOCMIWAIT-implementation). If a disconnect occurs after a hangup, any process waiting for changes will not be woken up a second time by the tty-layer as the port will then have been disassociated from the tty. Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions