linux/drivers/media/usb/hdpvr
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
..
Kconfig [media] media: fix hdpvr kconfig/build errors 2013-05-27 08:51:27 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
hdpvr-control.c [media] hdpvr: improve error handling 2013-06-13 11:35:47 -03:00
hdpvr-core.c [media] hdpvr: Removed unnecessary get_video_info() call from hdpvr_device_init() 2013-05-21 08:19:41 -03:00
hdpvr-i2c.c [media] [V2,23/24] usb/hdpvr/hdpvr-i2c.c: use IS_ENABLED() macro 2013-02-06 09:20:41 -02:00
hdpvr-video.c [media] hdpvr: improve error handling 2013-06-13 11:35:47 -03:00
hdpvr.h [media] hdpvr: improve error handling 2013-06-13 11:35:47 -03:00