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

2012-10-02 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 hverk...@xs4all.nl 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 hverk...@xs4all.nl 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-27 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 notify

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

[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 hans.verk...@cisco.com --- Documentation/video4linux/v4l2-controls.txt | 22 ++