summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-03-29 03:25:35 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:43:44 +0200
commit34796bc009565ea72643087b7d69c9fa748bce9b (patch)
tree85aa4eaaaad8f188cc574e9f8488f5fb2a5d51e3 /drivers/pci
parentV4L/DVB (11256): dabusb: fix compile warning. (diff)
downloadlinux-34796bc009565ea72643087b7d69c9fa748bce9b.tar.xz
linux-34796bc009565ea72643087b7d69c9fa748bce9b.zip
V4L/DVB (11260): v4l2-ioctl: Check format for S_PARM and G_PARM
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. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions