V4L/DVB (5617): V4L2: videodev, allow debugging
authorJiri Slaby <jirislaby@gmail.com>
Mon, 7 May 2007 13:55:49 +0000 (10:55 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 9 May 2007 13:13:04 +0000 (10:13 -0300)
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>
drivers/media/video/videodev.c

index db4bee8427458d7f533bc42723ab816697cdfcfa..b876aca69c73673fadb42f5e9388488d030c3eb4 100644 (file)
@@ -433,7 +433,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);
        }