]> git.baikalelectronics.ru Git - kernel.git/commit
USB: mos7720: remove broken get_icount and TIOCMIWAIT
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:37:14 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:52:24 +0000 (13:52 -0700)
commit3f019f40212395b82cb1fa8443c7c575f12aae31
treec34e9522e8d32f9a99cbc63cf7f7109ac6e9ab56
parent546fee9928b48753e6448c770f143cad9df45d76
USB: mos7720: remove broken get_icount and TIOCMIWAIT

Remove broken get_icount and TIOCMIWAIT support.

The driver has an icount structure but it is never been updated which
makes get_icount rather pointless and causes TIOCMIWAIT to always return
-EIO.

Note that the TIOCMIWAIT implementation has always been broken and would
not work even if icount support was added as it does not wait for the
modem status to change (does not use a work queue at all).

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