summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2006-09-11 14:49:19 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 17:30:36 +0200
commitc93a5c34887426daa70f3caf05881fafb1cd687f (patch)
tree3c0027e5fb46e96a691c70ef7f13ae6d331015fc /drivers/media/video/videodev.c
parentV4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards (diff)
downloadlinux-c93a5c34887426daa70f3caf05881fafb1cd687f.tar.xz
linux-c93a5c34887426daa70f3caf05881fafb1cd687f.zip
V4L/DVB (4622): Copy-paste bug in videodev.c
This patch fixes a copy-paste bug in videodev.c where the vidioc_qbuf() function gets called for the dqbuf ioctl. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index edd7b83c3464..2299e294e8df 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -739,13 +739,13 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
case VIDIOC_DQBUF:
{
struct v4l2_buffer *p=arg;
- if (!vfd->vidioc_qbuf)
+ if (!vfd->vidioc_dqbuf)
break;
ret = check_fmt (vfd, p->type);
if (ret)
break;
- ret=vfd->vidioc_qbuf(file, fh, p);
+ ret=vfd->vidioc_dqbuf(file, fh, p);
if (!ret)
dbgbuf(cmd,vfd,p);
break;