linux/drivers/media/usb
Alexey Khoroshilov ac22521cb2 [media] tlg2300: fix checking firmware in poseidon_probe()
check_firmware() makes sure firmware is in a device.
It returns zero on success and error code otherwise.
Also it sets down_firmware flag to 1 if downloading occurs.
The only caller poseidon_probe() checks down_firmware flag and
returns 0 without any initialization if it is set.
That looks very strange, so the patch removes down_firmware argument
of check_firmware() and returns error code if check_firmware() fails
in poseidon_probe().
Not tested on real hardware.
Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-07-26 13:28:26 -03:00
..
au0828 [media] au0828: set reg->size 2013-06-17 08:55:00 -03:00
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] cx231xx: the reg->size field wasn't filled in 2013-06-17 08:55:19 -03:00
dvb-usb [media] dib0700: add support for PCTV 2002e & PCTV 2002e SE 2013-07-22 07:48:11 -03:00
dvb-usb-v2 [media] dvb-usb-v2: fix Kconfig dependency when RC_CORE=m 2013-07-26 10:12:53 -03:00
em28xx [media] em28xx: remove GPIO register caching 2013-06-19 11:43:20 -03:00
gspca Merge branch 'linus' into patchwork 2013-06-20 05:19:09 -03:00
hdpvr [media] hdpvr: improve error handling 2013-06-13 11:35:47 -03:00
pvrusb2 [media] pvrusb2: Remove unused variable 2013-06-21 11:21:17 -03:00
pwc [media] pwc: Fix comment wrt lock ordering 2013-05-07 09:35:07 -03:00
s2255 [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
siano [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
sn9c102 [media] sn9c102_core: add v4l2_device and replace parent with v4l2_dev 2013-06-21 11:03:18 -03:00
stk1160 [media] v4l2: remove g_chip_ident from bridge drivers where it is easy to do so 2013-06-17 08:36:35 -03:00
stkwebcam [media] stk-webcam: implement support for count == 0 when calling REQBUFS 2013-03-05 14:44:17 -03:00
tlg2300 [media] tlg2300: fix checking firmware in poseidon_probe() 2013-07-26 13:28:26 -03:00
tm6000 [media] tm6000: remove deprecated current_norm 2013-06-17 09:35:27 -03:00
ttusb-budget [media] ttusb-budget: fix memory leak in ttusb_probe() 2013-06-21 15:06:51 -03:00
ttusb-dec [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
usbtv [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber 2013-06-21 11:32:35 -03:00
usbvision [media] usbvision-video: fix memory leak of alt_max_pkt_size 2013-06-21 11:29:24 -03:00
uvc [media] uvc: Depend on VIDEO_V4L2 2013-06-24 22:54:40 -03:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber 2013-06-21 11:32:35 -03:00
Makefile [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber 2013-06-21 11:32:35 -03:00