Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-30 Thread Guennadi Liakhovetski
Hi Sascha On Tue, 30 Apr 2013, Sascha Hauer wrote: > Hi Guennadi, > > On Fri, Apr 12, 2013 at 05:40:22PM +0200, Guennadi Liakhovetski wrote: > > Currently bridge device drivers register devices for all subdevices > > synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor > >

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-30 Thread Sascha Hauer
Hi Guennadi, On Fri, Apr 12, 2013 at 05:40:22PM +0200, Guennadi Liakhovetski wrote: > Currently bridge device drivers register devices for all subdevices > synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor > is attached to a video bridge device, the bridge driver will crea

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-29 Thread Sascha Hauer
On Fri, Apr 26, 2013 at 11:07:24PM +0200, Guennadi Liakhovetski wrote: > Hi Sascha > > On Fri, 26 Apr 2013, Sascha Hauer wrote: > > > Hi Guennadi, > > > > On Fri, Apr 12, 2013 at 05:40:22PM +0200, Guennadi Liakhovetski wrote: > > > + > > > +static bool match_i2c(struct device *dev, struct v4l2_a

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-26 Thread Guennadi Liakhovetski
Hi Sascha On Fri, 26 Apr 2013, Sascha Hauer wrote: > Hi Guennadi, > > On Fri, Apr 12, 2013 at 05:40:22PM +0200, Guennadi Liakhovetski wrote: > > + > > +static bool match_i2c(struct device *dev, struct v4l2_async_hw_info > > *hw_dev) > > +{ > > + struct i2c_client *client = i2c_verify_client(d

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-26 Thread Sylwester Nawrocki
Hi Guennadi, On 04/23/2013 03:01 PM, Guennadi Liakhovetski wrote: On Mon, 22 Apr 2013, Laurent Pinchart wrote: On Monday 15 April 2013 13:57:17 Sylwester Nawrocki wrote: On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote: + + if (notifier->unbind) + notifi

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-26 Thread Sascha Hauer
Hi Guennadi, On Fri, Apr 12, 2013 at 05:40:22PM +0200, Guennadi Liakhovetski wrote: > + > +static bool match_i2c(struct device *dev, struct v4l2_async_hw_info *hw_dev) > +{ > + struct i2c_client *client = i2c_verify_client(dev); > + return client && > + hw_dev->bus_type == V4L2

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-23 Thread Guennadi Liakhovetski
Hi Laurent On Mon, 22 Apr 2013, Laurent Pinchart wrote: > Hi Guennadi and Sylwester, > > On Monday 15 April 2013 13:57:17 Sylwester Nawrocki wrote: > > On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote: [snip] > > > + > > > + if (notifier->unbind) > > > + notifier->un

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-22 Thread Laurent Pinchart
Hi Guennadi and Sylwester, On Monday 15 April 2013 13:57:17 Sylwester Nawrocki wrote: > On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote: > > Currently bridge device drivers register devices for all subdevices > > synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor > > is

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-22 Thread Prabhakar Lad
Hi Guennadi, Thanks for the patch! On Fri, Apr 12, 2013 at 9:10 PM, Guennadi Liakhovetski wrote: > Currently bridge device drivers register devices for all subdevices > synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor > is attached to a video bridge device, the bridge d

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-15 Thread Prabhakar Lad
Hi Guennadi, On Fri, Apr 12, 2013 at 9:10 PM, Guennadi Liakhovetski wrote: > Currently bridge device drivers register devices for all subdevices > synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor > is attached to a video bridge device, the bridge driver will create an I2

Re: [PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-15 Thread Sylwester Nawrocki
Hi Guennadi, On 04/12/2013 05:40 PM, Guennadi Liakhovetski wrote: > Currently bridge device drivers register devices for all subdevices > synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor > is attached to a video bridge device, the bridge driver will create an I2C > device

[PATCH v9 02/20] V4L2: support asynchronous subdevice registration

2013-04-12 Thread Guennadi Liakhovetski
Currently bridge device drivers register devices for all subdevices synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor is attached to a video bridge device, the bridge driver will create an I2C device and wait for the respective I2C driver to probe. This makes linking of dev