diff options
| author | Johan Hovold <johan@kernel.org> | 2014-08-25 11:51:26 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 00:15:39 -0400 |
| commit | 2a159389bf5d962359349a76827b2f683276a1c7 (patch) | |
| tree | 55877b54e9fe9c7750833078d1afb8eb6977b8b6 /include/linux/usb | |
| parent | bf17eba7ae1e813b0ad67cb1078dcbd7083b906e (diff) | |
USB: core: add device-qualifier quirk
Add new quirk for devices that cannot handle requests for the
device_qualifier descriptor.
A USB-2.0 compliant device must respond to requests for the
device_qualifier descriptor (even if it's with a request error), but at
least one device is known to misbehave after such a request.
Suggested-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/quirks.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h index 55a17b188daa..ffe565c94743 100644 --- a/include/linux/usb/quirks.h +++ b/include/linux/usb/quirks.h | |||
| @@ -41,4 +41,7 @@ | |||
| 41 | */ | 41 | */ |
| 42 | #define USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL 0x00000080 | 42 | #define USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL 0x00000080 |
| 43 | 43 | ||
| 44 | /* device can't handle device_qualifier descriptor requests */ | ||
| 45 | #define USB_QUIRK_DEVICE_QUALIFIER 0x00000100 | ||
| 46 | |||
| 44 | #endif /* __LINUX_USB_QUIRKS_H */ | 47 | #endif /* __LINUX_USB_QUIRKS_H */ |
