Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-14 Thread Philipp Zabel
Am Freitag, den 14.10.2016, 18:06 +0100 schrieb Ian Arkver: > On 14/10/16 16:48, Philipp Zabel wrote: > > Am Samstag, den 08.10.2016, 01:43 +0300 schrieb Sakari Ailus: > > [...] > > [...] > >>> diff --git a/include/media/v4l2-async.h b/include/media/v4l2-async.h > >>> index 8e2a236..e4e4b11 100644

Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-14 Thread Ian Arkver
On 14/10/16 16:48, Philipp Zabel wrote: Am Samstag, den 08.10.2016, 01:43 +0300 schrieb Sakari Ailus: [...] [...] diff --git a/include/media/v4l2-async.h b/include/media/v4l2-async.h index 8e2a236..e4e4b11 100644 --- a/include/media/v4l2-async.h +++ b/include/media/v4l2-async.h @@ -114,6 +114,1

Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-14 Thread Philipp Zabel
Am Donnerstag, den 13.10.2016, 14:56 +0300 schrieb Sakari Ailus: > Hi Philipp, > > On Wed, Oct 12, 2016 at 03:26:48PM +0200, Philipp Zabel wrote: > > On Fri, Oct 7, 2016 at 11:52 PM, Sakari Ailus wrote: > > > Hi Philipp, > > > > > > On Fri, Oct 07, 2016 at 06:00:47PM +0200, Philipp Zabel wrote: >

Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-14 Thread Philipp Zabel
Am Samstag, den 08.10.2016, 01:43 +0300 schrieb Sakari Ailus: [...] > > void v4l2_async_notifier_unregister(struct v4l2_async_notifier *notifier) > > { > > struct v4l2_subdev *sd, *tmp; > > - unsigned int notif_n_subdev = notifier->num_subdevs; > > - unsigned int n_subdev = min(notif_n_su

Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-13 Thread Sakari Ailus
Hi Philipp, On Wed, Oct 12, 2016 at 03:26:48PM +0200, Philipp Zabel wrote: > On Fri, Oct 7, 2016 at 11:52 PM, Sakari Ailus wrote: > > Hi Philipp, > > > > On Fri, Oct 07, 2016 at 06:00:47PM +0200, Philipp Zabel wrote: > >> Currently the v4l2_async_notifier needs to be given a list of matches > >>

Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-12 Thread Philipp Zabel
On Fri, Oct 7, 2016 at 11:52 PM, Sakari Ailus wrote: > Hi Philipp, > > On Fri, Oct 07, 2016 at 06:00:47PM +0200, Philipp Zabel wrote: >> Currently the v4l2_async_notifier needs to be given a list of matches >> for all expected subdevices on creation. When chaining subdevices that >> are asynchrono

Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-07 Thread Sakari Ailus
Hi Philipp, On Fri, Oct 07, 2016 at 06:00:47PM +0200, Philipp Zabel wrote: > Currently the v4l2_async_notifier needs to be given a list of matches > for all expected subdevices on creation. When chaining subdevices that > are asynchronously probed via device tree, the bridge device that sets > up

Re: [PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-07 Thread Sakari Ailus
Hi Philipp, On Fri, Oct 07, 2016 at 06:00:47PM +0200, Philipp Zabel wrote: > Currently the v4l2_async_notifier needs to be given a list of matches > for all expected subdevices on creation. When chaining subdevices that > are asynchronously probed via device tree, the bridge device that sets > up

[PATCH 02/22] [media] v4l2-async: allow subdevices to add further subdevices to the notifier waiting list

2016-10-07 Thread Philipp Zabel
Currently the v4l2_async_notifier needs to be given a list of matches for all expected subdevices on creation. When chaining subdevices that are asynchronously probed via device tree, the bridge device that sets up the notifier does not know the complete list of subdevices, as it can only parse its