]> git.karo-electronics.de Git - linux-beck.git/commit
V4L/DVB (13310): uvcvideo: Return -EINVAL instead of -ENODEV in read()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 4 Nov 2009 14:53:49 +0000 (11:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:19 +0000 (18:41 -0200)
commit350d6407f84db58e2dfb5a5a5283982130746a41
tree8a187e1992f6ed89b7cc8c602b0bfd88ac69fc34
parent3bc766ad374d04349ba09bd93f51980ad29d11c3
V4L/DVB (13310): uvcvideo: Return -EINVAL instead of -ENODEV in read()

-EINVAL is required by the V4L2 specification. -ENODEV is simply wrong
as the device exists.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_v4l2.c