diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-12-01 16:10:43 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-23 15:29:04 +0300 |
commit | 21a7e0596a63abdf12a9591c29359f7f15e18c16 (patch) | |
tree | a66dfa80fd4c25263afdbbe778548af045cb68b8 /drivers/media/usb/zr364xx | |
parent | e476f4e15d859d1112872667983918bdfa4e663b (diff) | |
download | linux-21a7e0596a63abdf12a9591c29359f7f15e18c16.tar.xz |
[media] media: drivers shouldn't touch debug field in video_device
The debug field in struct video_device is for internal use only and
drivers should mix that with their own debug module options.
It is handled by the V4L2 core and users can set it using
/sys/class/video4linux/<devX>/debug.
It has been deprecated for some time now, so it is time to remove it
completely from the drivers.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/zr364xx')
-rw-r--r-- | drivers/media/usb/zr364xx/zr364xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/zr364xx/zr364xx.c b/drivers/media/usb/zr364xx/zr364xx.c index 5c006277b8b1..ca850316d379 100644 --- a/drivers/media/usb/zr364xx/zr364xx.c +++ b/drivers/media/usb/zr364xx/zr364xx.c @@ -1454,8 +1454,6 @@ static int zr364xx_probe(struct usb_interface *intf, cam->vdev.v4l2_dev = &cam->v4l2_dev; cam->vdev.ctrl_handler = &cam->ctrl_handler; video_set_drvdata(&cam->vdev, cam); - if (debug) - cam->vdev.debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; cam->udev = udev; |