USB: ftdi_sio: fix tiocmget and tiocmset return values
authorJohan Hovold <jhovold@gmail.com>
Mon, 29 Oct 2012 09:56:23 +0000 (10:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 20:19:30 +0000 (13:19 -0700)
commit2c2ee545071c10873b057b04a19d3d2aed04b9cf
tree83bdacb42f3bd36c10c2ab0049405a7d247a68a5
parentfef0b828a3c7a7123aedb4b1d8415369f75e0a58
USB: ftdi_sio: fix tiocmget and tiocmset return values

Make sure we do not return USB-internal error codes to userspace.

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