From: Johan Hovold Date: Thu, 21 Mar 2013 11:36:53 +0000 (+0100) Subject: USB: serial: wake up MSR-wait queue on disconnect X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c371de14b9a23aadb57accab0ca2e5dd28de7f16;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed