diff --git a/include/linux/usb.h b/include/linux/usb.h index 73b68d1f2cb01a2da4fbb65bd5bb319b51ac690e..22e9b328975b861c9388f810aef9c1e21bdef0c7 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -1627,6 +1627,7 @@ static inline int usb_translate_errors(int error_code) case 0: case -ENOMEM: case -ENODEV: + case -EOPNOTSUPP: return error_code; default: return -EIO;