alistair23-linux/drivers/media/usb
Mauro Carvalho Chehab 9f80679511 [media] usb: check media device errors
There are now two new warnings:

drivers/media/usb/dvb-usb-v2/dvb_usb_core.c: In function 'dvb_usbv2_media_device_register':
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:433:2: warning: ignoring return value of '__media_device_register', declared with attribute warn_unused_result [-Wunused-result]
  media_device_register(adap->dvb_adap.mdev);
  ^
drivers/media/usb/dvb-usb/dvb-usb-dvb.c: In function 'dvb_usb_media_device_register':
drivers/media/usb/dvb-usb/dvb-usb-dvb.c:128:2: warning: ignoring return value of '__media_device_register', declared with attribute warn_unused_result [-Wunused-result]
  media_device_register(adap->dvb_adap.mdev);
  ^

Those are because the drivers are not properly checking if the
media device init and register were succeeded.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-11 12:19:15 -02:00
..
airspy [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
as102 [media] as102: fix potential double free in as102_fw_upload() 2015-11-19 09:16:10 -02:00
au0828 [media] usb: check media device errors 2016-01-11 12:19:15 -02:00
b2c2
cpia2 [media] media: fix waitqueue_active without memory barrier in cpia2 driver 2015-11-17 14:55:06 -02:00
cx231xx [media] usb: check media device errors 2016-01-11 12:19:15 -02:00
dvb-usb [media] usb: check media device errors 2016-01-11 12:19:15 -02:00
dvb-usb-v2 [media] usb: check media device errors 2016-01-11 12:19:15 -02:00
em28xx [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
go7007 [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
gspca [media] gspca: ov534/topro: prevent a division by 0 2015-11-17 14:54:25 -02:00
hackrf [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
hdpvr [media] v4l2-dv-timings: add new arg to v4l2_match_dv_timings 2015-12-03 11:26:14 -02:00
msi2500 [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
pvrusb2 [media] media/usb/pvrusb2: Support for V4L2_CTRL_WHICH_DEF_VAL 2015-11-17 14:46:44 -02:00
pwc [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
s2255 [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
siano [media] media-device: split media initialization and registration 2016-01-11 12:19:15 -02:00
stk1160 [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
stkwebcam
tm6000 [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
ttusb-budget [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
ttusb-dec [media] ttusb-dec: constify ttusbdecfe_config structure 2015-11-19 11:22:15 -02:00
usbtv [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
usbvision [media] usbvision: fix crash on detecting device with invalid configuration 2015-11-19 11:36:02 -02:00
uvc [media] media-device: split media initialization and registration 2016-01-11 12:19:15 -02:00
zr364xx [media] usb drivers: use BUG_ON() instead of if () BUG 2015-06-09 18:30:09 -03:00
Kconfig
Makefile