USB: serial: fix TIOCMIWAIT return value
authorJohan Hovold <jhovold@gmail.com>
Wed, 5 Jun 2013 10:21:11 +0000 (12:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2013 15:34:42 +0000 (08:34 -0700)
commitf4488035abdac56682153aa0cff3d1dce84e1c54
tree4bb1548ed7b57f1a8c7a12bde50c999a8fb3c4a2
parenta26f009a070e840fadacb91013b2391ba7ab6cc2
USB: serial: fix TIOCMIWAIT return value

Fix regression introduced by commit 143d9d9616 ("USB: serial: add
tiocmiwait subdriver operation") which made the ioctl operation return
ENODEV rather than ENOIOCTLCMD when a subdriver TIOCMIWAIT
implementation is missing.

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