V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 13 Sep 2006 16:26:11 +0000 (13:26 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:36 +0000 (12:30 -0300)
commit666c73d9e123b9ea230fcb1e2bf47fe0294332a8
tree090fcf32ae58a33ca29e375f76c5c00f9e3da8ca
parentd7fbefe06d2061de126095f903359ce1ef61faf3
V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c

Do not return -EINVAL for index=0 in VIDIOC_ENUMSTD, because it is a
valid index

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videodev.c