1
0
Fork 0
alistair23-linux/include/linux/usb
Samuel Thibault 3243367b20 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
Some USB 2.0 devices erroneously report millisecond values in
bInterval. The generic config code manages to catch most of them,
but in some cases it's not completely enough.

The case at stake here is a USB 2.0 braille device, which wants to
announce 10ms and thus sets bInterval to 10, but with the USB 2.0
computation that yields to 64ms.  It happens that one can type fast
enough to reach this interval and get the device buffers overflown,
leading to problematic latencies.  The generic config code does not
catch this case because the 64ms is considered a sane enough value.

This change thus adds a USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL quirk
to mark devices which actually report milliseconds in bInterval,
and marks Vario Ultra devices as needing it.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-14 17:07:31 +08:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc-wdm.h
cdc.h
cdc_ncm.h NET: usb: cdc_mbim: add quirk for supporting Telit LE922A 2016-12-08 13:02:25 -05:00
ch9.h
chipidea.h usb: chipidea: msm: Handle phy power states 2017-01-20 15:27:35 +08:00
composite.h usb: gadget: composite: let USB functions process ctrl reqs in cfg0 2016-08-25 12:13:17 +03:00
ehci-dbgp.h
ehci_def.h USB: EHCI: declare hostpc register as zero-length array 2016-06-24 17:03:12 -07:00
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: fix request length error for isoc transfer 2016-11-18 13:54:09 +02:00
gadget_configfs.h
gpio_vbus.h
hcd.h usb: hcd.h: construct hub class request constants from simpler constants 2016-12-05 16:37:10 +01:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb_hw.h
musb-ux500.h
musb.h usb: musb: Return error value from musb_mailbox 2016-06-01 14:58:59 -07:00
net2280.h
of.h USB: Fix of_usb_get_dr_mode_by_phy with a shared phy block 2016-06-21 10:52:39 +03:00
ohci_pdriver.h
otg-fsm.h
otg.h
phy.h
phy_companion.h
quirks.h usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk 2017-03-14 17:07:31 +08:00
r8a66597.h
renesas_usbhs.h
rndis_host.h
samsung_usb_phy.h
serial.h
sl811.h
storage.h
tegra_usb_phy.h
tilegx.h
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h
wusb-wa.h
wusb.h