]> git.baikalelectronics.ru Git - kernel.git/commit
USB: oti6858: fix abuse of interface data
authorJohan Hovold <jhovold@gmail.com>
Wed, 25 Apr 2012 13:56:30 +0000 (15:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2012 18:37:18 +0000 (11:37 -0700)
commit5842be44e7ce0845a8ab54208c25d1feb2bf0e82
tree2b2d39d51af8cc390ae744b1d0d1a0aac27e0315
parent2fc6562819d9933944f3ea7a6e3862cb3cdd3e97
USB: oti6858: fix abuse of interface data

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

Note that neither tiocmset or tiocmget need to check for disconnect as
they do not access the device.

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