linux/drivers/media
Wei Yongjun d017650b40 [media] sta2x11_vip: fix error return code in sta2x11_vip_init_one()
The orig code will release all the resources if v4l2_device_register()
failed and return 0. But what we need in this case is to return an
negative error code to let the caller known we are failed.
So the patch save the return value of v4l2_device_register() to 'ret'
and return it when error.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-05-27 08:51:45 -03:00
..
common [media] Missing break statement added in smsdvb-main.c 2013-05-21 13:24:44 -03:00
dvb-core Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
dvb-frontends [media] dib0090: Fix a warning at dib0090_set_EFUSE 2013-04-25 16:06:55 -03:00
firewire [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
i2c [media] ad9389b: fix error return code in ad9389b_probe() 2013-05-27 08:51:41 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
pci [media] sta2x11_vip: fix error return code in sta2x11_vip_init_one() 2013-05-27 08:51:45 -03:00
platform [media] blackfin: fix error return code in bcap_probe() 2013-05-27 08:51:43 -03:00
radio [media] wl128x: do not call copy_to_user() while holding spinlocks 2013-05-21 08:23:31 -03:00
rc [media] rc: Add rc-delock-61959 2013-05-21 08:18:19 -03:00
tuners [media] r820t: Remove a warning for an unused value 2013-04-25 16:07:04 -03:00
usb [media] media: fix hdpvr kconfig/build errors 2013-05-27 08:51:27 -03:00
v4l2-core [media] v4l: vb2: fix error return code in __vb2_init_fileio() 2013-05-27 08:51:36 -03: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] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: info leak in media_device_enum_entities() 2013-04-23 16:58:52 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00