Re: [RFCv2 PATCH 08/21] v4l2-ctrls: create type_ops.

2014-01-25 Thread Hans Verkuil
Hi Sakari, On 01/24/2014 04:46 PM, Sakari Ailus wrote: Hi Hans, On Mon, Jan 20, 2014 at 01:46:01PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Since complex controls can have non-standard types we need to be able to do type-specific checks etc. In order to make

Re: [RFCv2 PATCH 08/21] v4l2-ctrls: create type_ops.

2014-01-24 Thread Sakari Ailus
Hi Hans, On Mon, Jan 20, 2014 at 01:46:01PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Since complex controls can have non-standard types we need to be able to do type-specific checks etc. In order to make that easy type operations are added. There are four

Re: [RFCv2 PATCH 08/21] v4l2-ctrls: create type_ops.

2014-01-23 Thread Sylwester Nawrocki
On 20/01/14 13:46, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Since complex controls can have non-standard types we need to be able to do type-specific checks etc. In order to make that easy type operations are added. There are four operations: - equal: check if two

[RFCv2 PATCH 08/21] v4l2-ctrls: create type_ops.

2014-01-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Since complex controls can have non-standard types we need to be able to do type-specific checks etc. In order to make that easy type operations are added. There are four operations: - equal: check if two values are equal - init: initialize a value -