Re: [PATCH v2 4/8] v4l: async: Provide interoperability between OF and fwnode matching

2017-04-10 Thread Sakari Ailus
Hi Laurent, On Sat, Apr 08, 2017 at 01:10:47AM +0300, Sakari Ailus wrote: > Hi Laurent, > > On Fri, Apr 07, 2017 at 01:07:48PM +0300, Laurent Pinchart wrote: > > Hi Sakari, > > > > Thank you for the patch. > > > > On Thursday 06 Apr 2017 16:12:06 Sakari Ailus wrote: > > > OF and fwnode support

Re: [PATCH v2 4/8] v4l: async: Provide interoperability between OF and fwnode matching

2017-04-07 Thread Sakari Ailus
Hi Laurent, On Fri, Apr 07, 2017 at 01:07:48PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Thursday 06 Apr 2017 16:12:06 Sakari Ailus wrote: > > OF and fwnode support are separated in V4L2 and individual drivers may > > implement one of them. Sub-devices do

Re: [PATCH v2 4/8] v4l: async: Provide interoperability between OF and fwnode matching

2017-04-07 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Thursday 06 Apr 2017 16:12:06 Sakari Ailus wrote: > OF and fwnode support are separated in V4L2 and individual drivers may > implement one of them. Sub-devices do not match with a notifier > expecting sub-devices with fwnodes, nor the other way around.

[PATCH v2 4/8] v4l: async: Provide interoperability between OF and fwnode matching

2017-04-06 Thread Sakari Ailus
OF and fwnode support are separated in V4L2 and individual drivers may implement one of them. Sub-devices do not match with a notifier expecting sub-devices with fwnodes, nor the other way around. Fix this by checking for sub-device's of_node field in fwnode match and fwnode field in OF match.