|
@@ -335,7 +335,7 @@ static unsigned int v4l2_poll(struct file *filp, struct poll_table_struct *poll)
|
|
return DEFAULT_POLLMASK;
|
|
return DEFAULT_POLLMASK;
|
|
if (video_is_registered(vdev))
|
|
if (video_is_registered(vdev))
|
|
res = vdev->fops->poll(filp, poll);
|
|
res = vdev->fops->poll(filp, poll);
|
|
- if (vdev->debug)
|
|
|
|
|
|
+ if (vdev->debug > 2)
|
|
printk(KERN_DEBUG "%s: poll: %08x\n",
|
|
printk(KERN_DEBUG "%s: poll: %08x\n",
|
|
video_device_node_name(vdev), res);
|
|
video_device_node_name(vdev), res);
|
|
return res;
|
|
return res;
|