Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-29 Thread Javi Merino
On Fri, Nov 25, 2016 at 10:21:21AM +0200, Sakari Ailus wrote: Hi Sakari, > On Wed, Nov 23, 2016 at 04:15:11PM +, Javi Merino wrote: > > On Wed, Nov 23, 2016 at 05:10:42PM +0200, Sakari Ailus wrote: > > > Hi Javi, > > > > Hi Sakari, > > > > > On Wed, Nov 23, 2016 at 10:09:57AM +, Javi Mer

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-25 Thread Sakari Ailus
Hi Javi, On Wed, Nov 23, 2016 at 04:15:11PM +, Javi Merino wrote: > On Wed, Nov 23, 2016 at 05:10:42PM +0200, Sakari Ailus wrote: > > Hi Javi, > > Hi Sakari, > > > On Wed, Nov 23, 2016 at 10:09:57AM +, Javi Merino wrote: > > > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 sub

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Javi Merino
On Wed, Nov 23, 2016 at 05:10:42PM +0200, Sakari Ailus wrote: > Hi Javi, Hi Sakari, > On Wed, Nov 23, 2016 at 10:09:57AM +, Javi Merino wrote: > > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in > > a devicetree overlay, its of_node pointer will be different each time >

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Javi Merino
On Wed, Nov 23, 2016 at 11:25:39AM -0300, Javier Martinez Canillas wrote: > Hello Javi, > > On 11/23/2016 07:09 AM, Javi Merino wrote: > > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in > > a devicetree overlay, its of_node pointer will be different each time > > the overla

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Sakari Ailus
Hi Javi, On Wed, Nov 23, 2016 at 10:09:57AM +, Javi Merino wrote: > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in > a devicetree overlay, its of_node pointer will be different each time > the overlay is applied. We are not interested in matching the > pointer, what we

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Javier Martinez Canillas
Hello Javi, On 11/23/2016 07:09 AM, Javi Merino wrote: > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in > a devicetree overlay, its of_node pointer will be different each time > the overlay is applied. We are not interested in matching the > pointer, what we want to match

[PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Javi Merino
In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in a devicetree overlay, its of_node pointer will be different each time the overlay is applied. We are not interested in matching the pointer, what we want to match is that the path is the one we are expecting. Change to use of_