]> git.baikalelectronics.ru Git - kernel.git/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)
commit9f1b9ead5121c82d48f7567f656d222c67b75ef0
treed7cd258198d9f91a152b929aa957865431b65457
parentb4e252da12211911b092ba40b3bd1d2e0d4be61a
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