]> git.baikalelectronics.ru Git - kernel.git/commit
USB: add EOPNOTSUPP to usb_translate_errors
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 Mar 2012 19:01:50 +0000 (21:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 20:46:41 +0000 (13:46 -0700)
commit4c7049180b6a1ba47ba3e02d762c91985eae7d2b
tree31b4ef95aecd67f87442eb0233987cf7a6733772
parentda7eba696b45e1ee796736dd03ed12a2dd22c314
USB: add EOPNOTSUPP to usb_translate_errors

Allow drivers to return EOPNOTSUPP to user space even when filtered
through usb_translate_errors.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb.h