summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-05-07 10:55:49 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-07 10:55:49 -0300
commit604729ac7c967190c873e3a78ed8a399b521f075 (patch)
treed489605287ae9f998d97d696d101681747e2d591
parent2f17fa91b50b3434c341b220b3cb0c5c0d81f8e7 (diff)
downloadmediapointer-dvb-s2-604729ac7c967190c873e3a78ed8a399b521f075.tar.gz
mediapointer-dvb-s2-604729ac7c967190c873e3a78ed8a399b521f075.tar.bz2
V4L2: videodev, allow debugging
From: Jiri Slaby <jirislaby@gmail.com> videodev, allow debugging fix typo? in videodev.c to allow debugging Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-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 b8e022aed..915e12ff8 100644
--- a/linux/drivers/media/video/videodev.c
+++ b/linux/drivers/media/video/videodev.c
@@ -457,7 +457,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
int ret = -EINVAL;
if ( (vfd->debug & V4L2_DEBUG_IOCTL) &&
- !(vfd->debug | V4L2_DEBUG_IOCTL_ARG)) {
+ !(vfd->debug & V4L2_DEBUG_IOCTL_ARG)) {
v4l_print_ioctl(vfd->name, cmd);
}