projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab6b26
)
V4L/DVB (4622): Copy-paste bug in videodev.c
author
Sascha Hauer
<s.hauer@pengutronix.de>
Mon, 11 Sep 2006 12:49:19 +0000
(09:49 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:36 +0000
(12:30 -0300)
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>
drivers/media/video/videodev.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/videodev.c
b/drivers/media/video/videodev.c
index edd7b83c3464b4a2367c6391b30fcee2f9abcbe7..2299e294e8df342e441b9b8b3469b32e6d92dade 100644
(file)
--- 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_
d
qbuf)
break;
ret = check_fmt (vfd, p->type);
if (ret)
break;
- ret=vfd->vidioc_qbuf(file, fh, p);
+ ret=vfd->vidioc_
d
qbuf(file, fh, p);
if (!ret)
dbgbuf(cmd,vfd,p);
break;