V4L/DVB (8526): saa7146: fix VIDIOC_ENUM_FMT
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 26 Jul 2008 12:16:29 +0000 (09:16 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 27 Jul 2008 14:07:14 +0000 (11:07 -0300)
commitf796804f01429b832e1e734c54f0f535b322c665
treeadeb7d3ba3dc6428bb9d22f3b0a0fce1eb64203f
parentde1e575db21a341b77b296af7dd87f163ebf6020
V4L/DVB (8526): saa7146: fix VIDIOC_ENUM_FMT

VIDIOC_ENUM_FMT should keep the index and type fields. Instead,
type was zeroed.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/saa7146_video.c