WSL2-Linux-Kernel/drivers/media/radio
Alexey Klimov 30b29537bc media: radio-ma901: return ENODEV in probe if usb_device doesn't match
Masterkit MA901 usb radio device shares USB ID with Atmel V-USB devices.
This patch adds additional checks in usb_ma901radio_probe() and if
product or manufacturer doesn't match we return -ENODEV and don't
continue. This allows hid drivers to handle not MA901 device.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2013-03-29 15:13:40 +01:00
..
si470x [media] radio/si470x/radio-si470x.h: use IS_ENABLED() macro 2013-02-05 14:52:46 -02:00
wl128x Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
Kconfig Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
Makefile [media] media: add driver for Masterkit MA901 usb radio 2012-12-28 12:20:33 -02:00
dsbr100.c [media] dsbr100: clean up and update to the latest v4l2 framework 2012-05-04 15:01:14 -03:00
lm7000.h [media] radio: Add Sanyo LM7000 tuner driver 2012-06-25 11:07:27 -03:00
radio-aimslab.c [media] radio-aimslab.c: get rid of warning: no previous prototype 2012-10-27 18:07:44 -02:00
radio-aztech.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-cadet.c [media] drivers/media/radio/radio-cadet.c: fix error return code 2012-11-22 14:20:34 -02:00
radio-gemtek.c [media] radio-gemtek: add PnP support for AOpen FX-3D/Pro Radio 2012-04-10 19:53:19 -03:00
radio-isa.c [media] radio-isa: get rid of warning: no previous prototype 2012-10-27 18:08:02 -02:00
radio-isa.h [media] radio-isa: PnP support for the new ISA radio framework 2012-04-10 19:52:16 -03:00
radio-keene.c [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
radio-ma901.c media: radio-ma901: return ENODEV in probe if usb_device doesn't match 2013-03-29 15:13:40 +01:00
radio-maxiradio.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-miropcm20.c [media] radio-miropcm20: fix signal and stereo indication 2013-02-05 18:17:03 -02:00
radio-mr800.c [media] radio drivers: in non-blocking mode return EAGAIN in hwseek 2012-09-26 17:51:41 -03:00
radio-rtrack2.c [media] radio-rtrack2: add missing slab.h 2012-03-30 16:41:29 -03:00
radio-sf16fmi.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-sf16fmr2.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-shark.c [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
radio-shark2.c [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
radio-si4713.c [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
radio-tea5764.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-tea5777.c [media] radio drivers: in non-blocking mode return EAGAIN in hwseek 2012-09-26 17:51:41 -03:00
radio-tea5777.h [media] radio-shark2: Add support for suspend & resume 2012-09-13 17:42:11 -03:00
radio-terratec.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-timb.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-trust.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-typhoon.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-wl1273.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
radio-zoltrix.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
saa7706h.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
si4713-i2c.c radio tea5764, si4713: get rid of warning: no previous prototype 2012-10-28 07:39:06 -02:00
si4713-i2c.h [media] radio-si4713: Add regulator framework support 2010-12-29 08:16:35 -02:00
tef6862.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00