]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30ac3e9718c9cd840c087ebd4fd1629e11957ef8
tree4bb1548ed7b57f1a8c7a12bde50c999a8fb3c4a2
parent76e0d99f7df4428bd3f798787ab5f64b290ad8e3
USB: serial: fix TIOCMIWAIT return value

Fix regression introduced by commit 2feb197748 ("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