bianbu-linux-6.6/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: add header guards 2015-09-15 21:53:24 -07:00
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 USB: ezusb: unexport some functions that aren't being used 2012-10-24 14:19:16 -07:00
functionfs.h usb: gadget: FunctionFS: Remove compatibility layer 2013-12-12 13:43:40 -06:00
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 USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
iowarrior.h
irda.h usb: irda: cleanup on ir-usb module 2008-07-21 15:16:27 -07:00
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 usb: otg-fsm: support multiple instances 2016-04-06 17:15:03 +08:00
otg.h
phy.h usb: phy: change some comments 2015-09-27 10:54:31 -05:00
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 usb: renesas_usbhs: add R-Car Gen3 power control 2016-03-04 15:14:28 +02:00
rndis_host.h
samsung_usb_phy.h
serial.h Revert "USB: serial: make bulk_out_size a lower limit" 2015-02-26 17:02:15 +01:00
sl811.h
storage.h usb/storage: misc fixes to comments in include/linux/usb/storage.h 2016-02-03 13:48:12 -08:00
tegra_usb_phy.h
tilegx.h usb: add host support for the tilegx architecture 2012-07-18 16:40:29 -04:00
uas.h uas: Pack iu struct definitions 2014-03-04 15:38:11 -08:00
ulpi.h usb: add bus type for USB ULPI 2015-05-13 12:04:55 -05:00
usb338x.h
usb_phy_generic.h usb: phy: generic: add vbus support 2015-01-12 12:13:29 -06:00
usbnet.h usbnet: Fix tx_bytes statistic running backward in cdc_ncm 2015-03-29 12:06:45 -07:00
wusb-wa.h usb: wusbcore: preserve endianness of cached descriptors 2013-10-19 05:19:21 -07:00
wusb.h usb: wusbcore: fix deadlock in wusbhc_gtk_rekey 2013-12-02 15:21:04 -08:00