linux/drivers/media
Trent Piepho 337f9d2059 V4L/DVB (10812): v4l2: Zero out read-only ioctls in one place
If an ioctl is read-only then the driver fills in all the fields.  Lots of
times drivers only care about some fields so it's best if video_ioctl2
takes care of zeroing out the entire structure before handing it to the
driver.  This saves code in each driver to do it and driver authors often
forget.

The existing memset code in some of the read-only ioctl handlers
can be deleted.

Convert a case statement to a single if statement.

Deleted a debug line from ENUMAUDOUT that was copy-and-pasted to G_AUDOUT
by mistake.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30 12:43:05 -03:00
..
common V4L/DVB (10784): mxl5007t: update driver for MxL 5007T V4 2009-03-30 12:43:03 -03:00
dvb V4L/DVB (10808): Fix typo in lnbp21.c 2009-03-30 12:43:05 -03:00
radio V4L/DVB (10534): Output HW/SW version from scratchpad 2009-03-30 12:42:49 -03:00
video V4L/DVB (10812): v4l2: Zero out read-only ioctls in one place 2009-03-30 12:43:05 -03:00
Kconfig V4L/DVB (10633): DAB: fix typo 2009-03-30 12:42:49 -03:00
Makefile