Re: [PATCH] v4l subdev: add dispatching for VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER.

2011-09-19 Thread martin
On Mon, Sep 19, 2011 at 12:53:07AM +0200, Laurent Pinchart wrote: Hi Martin, Thanks for the patch. On Saturday 17 September 2011 11:26:36 Martin Hostettler wrote: Ioctls on the subdevs node currently don't dispatch the register access debug driver callbacks. Add the dispatching with the

Re: [PATCH] v4l subdev: add dispatching for VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER.

2011-09-18 Thread Laurent Pinchart
Hi Martin, Thanks for the patch. On Saturday 17 September 2011 11:26:36 Martin Hostettler wrote: Ioctls on the subdevs node currently don't dispatch the register access debug driver callbacks. Add the dispatching with the same security checks are for non subdev video nodes (i.e. only

[PATCH] v4l subdev: add dispatching for VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER.

2011-09-17 Thread Martin Hostettler
Ioctls on the subdevs node currently don't dispatch the register access debug driver callbacks. Add the dispatching with the same security checks are for non subdev video nodes (i.e. only capable(CAP_SYS_ADMIN may call the register access ioctls). --- drivers/media/video/v4l2-subdev.c | 20