V4L/DVB (11264): omap24xxcam: Remove buffer type check from vidioc_s/g_parm
authorTrent Piepho <xyzzy@speakeasy.org>
Sun, 29 Mar 2009 01:25:36 +0000 (22:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:45 +0000 (12:43 -0300)
commit020b882b1d34e8787658a15e00f2ea0d4651605b
tree5ea1df2b705b6e50221e986f4e3c57831edeb0d3
parent5a27578667b3bd00cab909296824498bdbd732d5
V4L/DVB (11264): omap24xxcam: Remove buffer type check from vidioc_s/g_parm

The v4l2-ioctl core now only allows buffer types for which the corresponding
->vidioc_try_fmt_xxx() methods are defined to be used in vidioc_(g|s)_parm.

This driver only defines ->vidioc_try_fmt_vid_cap() so only VIDEO_CAPTURE
buffers are allowed to be used with vidioc_s_parm() and vidioc_g_parm().

Cc: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap24xxcam.c