From: Johan Hovold Date: Thu, 21 Mar 2013 11:37:01 +0000 (+0100) Subject: USB: ch341: fix TIOCMIWAIT and disconnect X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f550431925891d2ea4338d298aceeceb1c6cbf1;p=pandora-kernel.git USB: ch341: fix TIOCMIWAIT and disconnect Use tty-port modem-status-change wait queue on which processes are woken up at hangup and disconnect. Currently a process waiting on modem-status changes will not be woken on device disconnect as wake up was only done in dtr_rts which isn't guaranteed to be called (e.g. if HUPCL is not set). Also remove the redundant wake-up call from dtr_rts. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed