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)
commit67c88382e0bf92d7e09536ac47674c9fc9398b98
tree31b4ef95aecd67f87442eb0233987cf7a6733772
parent0ca7eb235de5a72614c4ddd37707f9d9671e5403
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