linux_dsm_epyc7002/drivers/media
Johan Hovold 536f561d87 media: usbtv: fix control-message timeouts
The driver was issuing synchronous uninterruptible control requests
without using a timeout. This could lead to the driver hanging on
various user requests due to a malfunctioning (or malicious) device
until the device is physically disconnected.

The USB upper limit of five seconds per request should be more than
enough.

Fixes: f3d27f34fd ("[media] usbtv: Add driver for Fushicai USBTV007 video frame grabber")
Fixes: c53a846c48 ("[media] usbtv: add video controls")
Cc: stable <stable@vger.kernel.org>     # 3.11
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-02-24 16:13:26 +01:00
..
cec media: cec: remove unused functions 2020-01-08 14:38:06 +01:00
common media: media/saa7146: fix incorrect assertion in saa7146_buffer_finish 2020-02-24 15:22:31 +01:00
dvb-core media: dvb-core: dvbdev: convert to use i2c_new_client_device() 2020-01-09 15:57:46 +01:00
dvb-frontends media: dvb-frontends: ts2020: convert to use i2c_new_client_device() 2020-01-09 16:00:13 +01:00
firewire media: firewire: Make structure fdtv_ca constant 2019-08-21 18:39:55 -03:00
i2c media: mt9v111: constify copied structure 2020-01-23 15:48:05 +01:00
mc media: mc-entity.c: use & to check pad flags, not == 2020-02-24 15:10:04 +01:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci media updates for v5.6-rc1 2020-01-31 14:43:23 -08:00
platform media: atmel: atmel-isc-base: expose white balance as v4l2 controls 2020-02-24 16:12:28 +01:00
radio media: Fix Kconfig indentation 2020-02-24 15:19:38 +01:00
rc media: iguanair: fix endpoint sanity check 2020-01-09 16:07:04 +01:00
spi media: Clarify how menus are hidden by SUBDRV_AUTOSELECT 2019-08-19 12:00:29 -03:00
tuners media: tuners: Use the correct style for SPDX License Identifier 2019-10-24 18:57:55 -03:00
usb media: usbtv: fix control-message timeouts 2020-02-24 16:13:26 +01:00
v4l2-core media: v4l2-core: v4l2-i2c: convert to new API with ERRPTR 2020-02-24 15:21:52 +01:00
Kconfig media: Fix Kconfig indentation 2020-02-24 15:19:38 +01:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00