linux-stable/drivers/staging
Johan Hovold 88a252ff78 comedi: vmk80xx: fix bulk and interrupt message timeouts
commit a56d3e40bd upstream.

USB bulk and interrupt message timeouts are specified in milliseconds
and should specifically not vary with CONFIG_HZ.

Note that the bulk-out transfer timeout was set to the endpoint
bInterval value, which should be ignored for bulk endpoints and is
typically set to zero. This meant that a failing bulk-out transfer
would never time out.

Assume that the 10 second timeout used for all other transfers is more
than enough also for the bulk-out endpoint.

Fixes: 985cafccbf ("Staging: Comedi: vmk80xx: Add k8061 support")
Fixes: 951348b377 ("staging: comedi: vmk80xx: wait for URBs to complete")
Cc: stable@vger.kernel.org      # 2.6.31
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20211025114532.4599-6-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-12 14:43:04 +01:00
..
android
axis-fifo
board staging: board: Fix uninitialized spinlock when attaching genpd 2021-09-22 12:26:28 +02:00
clocking-wizard
comedi comedi: vmk80xx: fix bulk and interrupt message timeouts 2021-11-12 14:43:04 +01:00
emxx_udc staging: emxx_udc: fix loop in _nbu2ss_nuke() 2021-06-03 08:59:15 +02:00
exfat
fbtft staging: fbtft: Rectify GPIO handling 2021-07-14 16:53:36 +02:00
fieldbus
fsl-dpaa2
fwserial staging: fwserial: fix TIOCSSERIAL permission check 2021-05-14 09:44:11 +02:00
gasket
gdm724x staging: gdm724x: check for overflow in gdm_lte_netif_rx() 2021-07-14 16:53:44 +02:00
goldfish
greybus staging: greybus: uart: fix tty use after free 2021-09-30 10:09:21 +02:00
gs_fpgaboot
iio staging: iio: cdc: ad7746: avoid overwrite of num_channels 2021-06-03 08:59:04 +02:00
isdn
kpc2000
ks7010 staging: ks7010: Fix the initialization of the 'sleep_status' structure 2021-09-22 12:26:30 +02:00
media media: imx-csi: Skip first few frames from a BT.656 source 2021-07-14 16:53:14 +02:00
most
mt7621-dma
mt7621-dts staging: mt7621-dts: fix pci address for PCI memory range 2021-07-14 16:53:44 +02:00
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled 2021-06-23 14:41:27 +02:00
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
qlge
ralink-gdma
rtl8188eu
rtl8192e staging: rtl8192e: Change state information from u16 to u8 2021-04-07 14:47:44 +02:00
rtl8192u staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb() 2021-09-26 14:07:07 +02:00
rtl8712 staging: rtl8712: get rid of flush_scheduled_work 2021-08-12 13:21:01 +02:00
rtl8723bs staging: rtl8723bs: Fix a resource leak in sd_int_dpc 2021-08-12 13:21:01 +02:00
rts5208 staging: rts5208: Fix get_ms_information() heap buffer size 2021-09-22 12:26:33 +02:00
sm750fb
speakup
unisys
uwb
vc04_services
vme
vt6655
vt6656
wilc1000
wlan-ng
wusbcore
Kconfig
Makefile