V4L/DVB (7946): videodev: small fixes for VIDIOC_G_FREQUENCY and VIDIOC_G_FMT
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 28 May 2008 00:32:08 +0000 (21:32 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:07:17 +0000 (07:07 -0300)
commit7bb846afceafdaceb88d2ed2e861585d26e353b9
tree73b266e5155236eb43e463f191edebd42b28c9c7
parent1d0ba5f3784612fe6e91a12e0dec37c797d4f07c
V4L/DVB (7946): videodev: small fixes for VIDIOC_G_FREQUENCY and VIDIOC_G_FMT

__video_do_ioctl incorrectly zeroed the tuner field of v4l2_frequency and
did not zero the full fmt union of v4l2_format.

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