linux/drivers/media/usb
Takashi Iwai a941594034 media: go7007: Fix URB type for interrupt handling
[ Upstream commit a3ea410cac ]

Josef reported that his old-and-good Plextor ConvertX M402U video
converter spews lots of WARNINGs on the recent kernels, and it turned
out that the device uses a bulk endpoint for interrupt handling just
like 2250 board.

For fixing it, generalize the check with the proper verification of
the endpoint instead of hard-coded board type check.

Fixes: 7e5219d18e ("[media] go7007: Fix 2250 urb type")
Reported-and-tested-by: Josef Möllers <josef.moellers@suse.com>
BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1162583
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206427

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:38 +02:00
..
airspy
as102
au0828
b2c2 media: flexcop-usb: fix endpoint sanity check 2020-04-01 11:02:15 +02:00
cpia2
cx231xx
dvb-usb media: cxusb-analog: fix V4L2 dependency 2020-08-19 08:16:07 +02:00
dvb-usb-v2 media: dvbsky: add support for eyeTV Geniatech T2 lite 2020-02-01 09:34:47 +00:00
em28xx
go7007 media: go7007: Fix URB type for interrupt handling 2020-10-01 13:17:38 +02:00
gspca media: xirlink_cit: add missing descriptor sanity checks 2020-04-01 11:02:18 +02:00
hackrf
hdpvr
msi2500
pulse8-cec media: pulse8-cec: fix lost cec_transmit_attempt_done() call 2020-01-09 10:19:56 +01:00
pvrusb2
pwc
rainshadow-cec
s2255
siano
stk1160
stkwebcam
tm6000
ttusb-budget
ttusb-dec
usbtv media: usbtv: fix control-message timeouts 2020-04-01 11:02:16 +02:00
usbvision
uvc media: uvcvideo: Add a quirk to force GEO GC6500 Camera bits-per-pixel value 2020-02-24 08:36:56 +01:00
zr364xx
Kconfig
Makefile