]> Pileus Git - ~andy/linux/commit
USB: io_ti: fix abuse of interface data
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 Mar 2012 18:31:38 +0000 (20:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 20:32:54 +0000 (13:32 -0700)
commitaf5810597ab38ed1eb1d38e04b6e89c9ccec988e
treed7cd258198d9f91a152b929aa957865431b65457
parent5c0c7582a618e843bdcf9c4b20d019d8ffd176ee
USB: io_ti: fix abuse of interface data

Fix abuse of interface data which was used to signal device disconnect.

Use the usb_serial disconnect flag and mutex where appropriate.

Note that there's no need to grab the mutex in chase_port as it does not
access the device.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/io_ti.c