summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-15 10:20:38 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-09-15 10:20:38 +0200
commita753269dec3b227332dad3285386c0f37c6f6240 (patch)
tree17d329b63d5afc94e55e2f2c68f0f4ee33d33a16 /linux/drivers/media
parent58e2c9ce366522dbee31bb65dcb5fd662d3a5309 (diff)
downloadmediapointer-dvb-s2-a753269dec3b227332dad3285386c0f37c6f6240.tar.gz
mediapointer-dvb-s2-a753269dec3b227332dad3285386c0f37c6f6240.tar.bz2
gspca: Set the right V4L2_DEBUG values in the main driver.
From: Frank Zago <frank@zago.net> Priority: normal Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/gspca/gspca.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.c b/linux/drivers/media/video/gspca/gspca.c
index 8c98c7a05..5d7e56d9e 100644
--- a/linux/drivers/media/video/gspca/gspca.c
+++ b/linux/drivers/media/video/gspca/gspca.c
@@ -853,9 +853,11 @@ static int dev_open(struct inode *inode, struct file *file)
#ifdef GSPCA_DEBUG
/* activate the v4l2 debug */
if (gspca_debug & D_V4L2)
- gspca_dev->vdev.debug |= 3;
+ gspca_dev->vdev.debug |= V4L2_DEBUG_IOCTL
+ | V4L2_DEBUG_IOCTL_ARG;
else
- gspca_dev->vdev.debug &= ~3;
+ gspca_dev->vdev.debug &= ~(V4L2_DEBUG_IOCTL
+ | V4L2_DEBUG_IOCTL_ARG);
#endif
ret = 0;
out: