Re: v4l2_subdev_queryctrl and friends

2017-05-16 Thread Patrick Doyle
On Tue, May 16, 2017 at 12:13 PM, Hans Verkuil wrote: > It needs something like this (taken from rcar-vin.c): > > ret = v4l2_ctrl_add_handler(&vin->ctrl_handler, sd->ctrl_handler, > NULL); > if (ret < 0) > return ret; > Thank you . That did the trick. Continuing o

Re: v4l2_subdev_queryctrl and friends

2017-05-16 Thread Hans Verkuil
On 16/05/17 16:31, Patrick Doyle wrote: > There is a statement in the v4l2-controls.txt in my 4.4.55 kernel that > v4l2_subdev_queryctrl and friends will be removed "Once all the V4L2 > drivers that depend on subdev drivers are converted to the control > framework". >

v4l2_subdev_queryctrl and friends

2017-05-16 Thread Patrick Doyle
There is a statement in the v4l2-controls.txt in my 4.4.55 kernel that v4l2_subdev_queryctrl and friends will be removed "Once all the V4L2 drivers that depend on subdev drivers are converted to the control framework". How would I be able to tell if my driver (isc-atmel.c) has been co