OpenCloudOS-Kernel/drivers/media/usb
Hans Verkuil 5f454d82e5 [media] hdpvr: improve error handling
get_video_info() should never return EFAULT, instead it should return
the low-level usb_control_msg() error. Add a valid field to the hdpvr_video_info
struct so the driver can easily check if a valid format was detected.
Whenever get_video_info is called and it returns an error (e.g. usb_control_msg
failed), then return that error to userspace as well.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-06-13 11:35:47 -03:00
..
au0828 [media] au0828: improve firmware loading & locking 2013-03-25 15:10:37 -03:00
b2c2
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
dvb-usb [media] stb0899: remove commented value from IQ_SWAP_ON/OFF usages 2013-05-21 08:54:37 -03:00
dvb-usb-v2 [media] rtl28xxu: correct latest device name 2013-06-08 22:00:12 -03:00
em28xx [media] em28xx: Add support for 1b80:e1cc Delock 61959 2013-05-21 08:18:42 -03:00
gspca [media] gspca: remove obsolete Kconfig macros 2013-03-29 08:19:26 -03:00
hdpvr [media] hdpvr: improve error handling 2013-06-13 11:35:47 -03:00
pvrusb2 [media] media: usb: remove duplicate checks for EPERM in vidioc_g/s_register 2013-05-27 09:34:33 -03:00
pwc [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -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: Replace memcpy with struct assignment 2012-12-27 18:44:46 -02:00
stk1160 [media] stk1160: remove V4L2_CHIP_MATCH_AC97 placeholder 2013-03-25 09:32:21 -03:00
stkwebcam [media] stk-webcam: implement support for count == 0 when calling REQBUFS 2013-03-05 14:44:17 -03:00
tlg2300 [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
tm6000 [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
ttusb-budget [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
ttusb-dec [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
usbvision [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
uvc [media] uvcvideo: Fix open/close race condition 2013-06-08 19:51:16 -03:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] media/usb: fix kconfig dependencies 2013-05-21 08:52:44 -03:00
Makefile