USB: core: add device-qualifier quirk
authorJohan Hovold <johan@kernel.org>
Mon, 25 Aug 2014 15:51:26 +0000 (17:51 +0200)
committerZefan Li <lizefan@huawei.com>
Mon, 2 Feb 2015 09:05:12 +0000 (17:05 +0800)
commit8cb0a20aaef0546ca0daf685ab127b181ea8284b
tree7c981c9dd664d4b141a7d650069bd61559395e49
parentc960659c347e5e0c979084a793bf1f125f3b57ba
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>
Signed-off-by: Zefan Li <lizefan@huawei.com>
drivers/usb/core/hub.c
include/linux/usb/quirks.h