linux/drivers/media/usb
Johan Hovold f52981019a media: dib0700: fix rc endpoint lookup
Make sure to use the current alternate setting when verifying the
interface descriptors to avoid submitting an URB to an invalid endpoint.

Failing to do so could cause the driver to misbehave or trigger a WARN()
in usb_submit_urb() that kernels with panic_on_warn set would choke on.

Fixes: c4018fa2e4 ("[media] dib0700: fix RC support on Hauppauge Nova-TD")
Cc: stable <stable@vger.kernel.org>     # 3.16
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-02-24 16:24:21 +01:00
..
airspy media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
as102 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
au0828 media: drivers/media: don't set pix->priv = 0 2019-07-23 08:48:33 -04:00
b2c2 media: flexcop-usb: fix endpoint sanity check 2020-02-24 16:23:28 +01:00
cpia2 media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
cx231xx media: cx231xx: constify copied structure 2020-02-24 15:23:48 +01:00
dvb-usb media: dib0700: fix rc endpoint lookup 2020-02-24 16:24:21 +01:00
dvb-usb-v2 media: anysee: constify copied structure 2020-02-24 15:22:57 +01:00
em28xx media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00
go7007 media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00
gspca media: gspca: zero usb_buf 2019-12-13 09:15:35 +01:00
hackrf Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
hdpvr media: hdpvr: remove redundant assignment to retval 2019-08-26 10:43:53 -03:00
msi2500 media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
pulse8-cec media: pulse8-cec: close serio in disconnect, not adap_free 2020-02-24 15:05:14 +01:00
pvrusb2 media: pvrusb2: Remove unneeded semicolon and add newline 2020-01-08 14:36:32 +01:00
pwc media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
rainshadow-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 55 2019-05-24 17:36:42 +02:00
s2255 media: drivers/media: don't set pix->priv = 0 2019-07-23 08:48:33 -04:00
siano USB fixes for 5.2-rc3 2019-05-31 08:16:31 -07:00
stk1160 media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
stkwebcam media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
tm6000 media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00
ttusb-budget treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ttusb-dec media: ttusb-dec: Fix info-leak in ttusb_dec_send_command() 2019-08-21 18:39:55 -03:00
usbtv media: usbtv: fix control-message timeouts 2020-02-24 16:13:26 +01:00
usbvision media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
uvc media: uvcvideo: Add a quirk to force GEO GC6500 Camera bits-per-pixel value 2020-01-23 13:16:13 +01:00
zr364xx media: zr364xx: remove redundant assigmnent to idx, clean up code 2019-11-10 17:49:58 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00