]> 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)
commitbe4995fea9d90d9f8248e7dd0db268966a7eec7d
treed7cd258198d9f91a152b929aa957865431b65457
parentc04db5b080a8f2b5c1c09261b6838c382232caf6
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