USB: core: add device-qualifier quirk
authorJohan Hovold <johan@kernel.org>
Mon, 25 Aug 2014 15:51:26 +0000 (17:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 17:00:05 +0000 (09:00 -0800)
commit98bc9c6c6d459e252d27549492be6c4603ff2a3e
tree99fc4b9d67c6db0d619775f304d97bb5a4161cf0
parentb944ad83dbdaa0d02ed9e0a1d5749475f62561a4
USB: core: add device-qualifier quirk

commit 2a159389bf5d962359349a76827b2f683276a1c7 upstream.

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>
drivers/usb/core/hub.c
include/linux/usb/quirks.h