summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-07 09:46:21 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-07 09:46:21 -0300
commitc9afdbe77a95a51cc16765495700227b3870e4cf (patch)
treeee4580b84273ded32fd400dc603087f9178ab7c7 /linux/drivers/media/video/videodev.c
parent3a3f9d90e9806cd1570670fefda0bf3f282bfb03 (diff)
downloadmediapointer-dvb-s2-c9afdbe77a95a51cc16765495700227b3870e4cf.tar.gz
mediapointer-dvb-s2-c9afdbe77a95a51cc16765495700227b3870e4cf.tar.bz2
Fix: Wrong callback check for streamoff.
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/videodev.c')
-rw-r--r--linux/drivers/media/video/videodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/videodev.c b/linux/drivers/media/video/videodev.c
index b3285d753..60407ba08 100644
--- a/linux/drivers/media/video/videodev.c
+++ b/linux/drivers/media/video/videodev.c
@@ -805,7 +805,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
{
enum v4l2_buf_type i = *(int *)arg;
- if (!vfd->vidioc_streamon)
+ if (!vfd->vidioc_streamoff)
break;
dbgarg (cmd, "type=%s\n", prt_names(i,v4l2_type_names_FIXME));
ret=vfd->vidioc_streamoff(file, fh, i);