summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ov511.c
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-03-28 18:25:35 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2009-03-28 18:25:35 -0700
commitc6a7ca4c96fd867b70c72a7fdb08866a592dd844 (patch)
tree00a9ef44e196a9d4b9ed3622bb7d793e8044d750 /linux/drivers/media/video/ov511.c
parent99a1c4eefe8e5d8259545a9738c343719aaa65f4 (diff)
downloadmediapointer-dvb-s2-c6a7ca4c96fd867b70c72a7fdb08866a592dd844.tar.gz
mediapointer-dvb-s2-c6a7ca4c96fd867b70c72a7fdb08866a592dd844.tar.bz2
v4l2-ioctl: Check format for S_PARM and G_PARM
From: Trent Piepho <xyzzy@speakeasy.org> Return EINVAL if VIDIOC_S/G_PARM is called for a buffer type that the driver doesn't define a ->vidioc_try_fmt_XXX() method for. Several other ioctls, like QUERYBUF, QBUF, and DQBUF, etc. do this too. It saves each driver from having to check if the buffer type is one that it supports. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/ov511.c')
0 files changed, 0 insertions, 0 deletions