summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/cypress_m8.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-21 12:37:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 13:50:52 -0700
commit3f550431925891d2ea4338d298aceeceb1c6cbf1 (patch)
tree45b84306a3c25816bbbe249f69e1911834480ccc /drivers/usb/serial/cypress_m8.c
parent7bb98f0edd1df8687ca9c8ce9492f8ac6b8ec448 (diff)
downloadlinux-3f550431925891d2ea4338d298aceeceb1c6cbf1.tar.bz2
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 <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/cypress_m8.c')
0 files changed, 0 insertions, 0 deletions