Re: [RFCv1 API PATCH 2/4] v4l2-ctrls: add a notify callback.

2012-10-01 Thread Hans Verkuil
On Mon October 1 2012 22:01:38 Mauro Carvalho Chehab wrote: > Em Thu, 27 Sep 2012 08:44:25 +0200 > Hans Verkuil escreveu: > > > On Wed September 26 2012 12:50:11 Laurent Pinchart wrote: > > > > > + if (notify == NULL) { > > > > + ctrl->call_notify = 0; > > > > +

Re: [RFCv1 API PATCH 2/4] v4l2-ctrls: add a notify callback.

2012-10-01 Thread Mauro Carvalho Chehab
Em Thu, 27 Sep 2012 08:44:25 +0200 Hans Verkuil escreveu: > On Wed September 26 2012 12:50:11 Laurent Pinchart wrote: > > > + if (notify == NULL) { > > > + ctrl->call_notify = 0; > > > + return; > > > + } > > > + /* Only one notifier is allowed. Should we ever need to support > >

Re: [RFCv1 API PATCH 2/4] v4l2-ctrls: add a notify callback.

2012-09-26 Thread Hans Verkuil
On Wed September 26 2012 12:50:11 Laurent Pinchart wrote: > Hi Hans, > > Thanks for the patch. > > On Friday 14 September 2012 13:15:34 Hans Verkuil wrote: > > Sometimes platform/bridge drivers need to be notified when a control from > > a subdevice changes value. In order to support this a notif

Re: [RFCv1 API PATCH 2/4] v4l2-ctrls: add a notify callback.

2012-09-26 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Friday 14 September 2012 13:15:34 Hans Verkuil wrote: > Sometimes platform/bridge drivers need to be notified when a control from > a subdevice changes value. In order to support this a notify callback was > added. > > Signed-off-by: Hans Verkuil > --- > Docum

[RFCv1 API PATCH 2/4] v4l2-ctrls: add a notify callback.

2012-09-14 Thread Hans Verkuil
Sometimes platform/bridge drivers need to be notified when a control from a subdevice changes value. In order to support this a notify callback was added. Signed-off-by: Hans Verkuil --- Documentation/video4linux/v4l2-controls.txt | 22 ++ drivers/media/v4l2-core/v4l2-ctrls