Re: [RFC 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag

2013-08-21 Thread Sakari Ailus
Hi Laurent, On Wed, Aug 21, 2013 at 05:22:45AM +0200, Laurent Pinchart wrote: > Hi Sakari, > > On Saturday 10 August 2013 15:16:29 Sakari Ailus wrote: > > On Fri, Aug 09, 2013 at 01:34:46AM +0200, Laurent Pinchart wrote: > > > On Friday 19 July 2013 20:55:07 Sakari Ailus wrote: > > > > Do not all

Re: [RFC 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag

2013-08-20 Thread Laurent Pinchart
Hi Sakari, On Saturday 10 August 2013 15:16:29 Sakari Ailus wrote: > On Fri, Aug 09, 2013 at 01:34:46AM +0200, Laurent Pinchart wrote: > > On Friday 19 July 2013 20:55:07 Sakari Ailus wrote: > > > Do not allow streaming if a pad with MEDIA_PAD_FL_MUST_CONNECT flag is > > > not connected by an acti

Re: [RFC 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag

2013-08-10 Thread Sakari Ailus
Hi Laurent, On Fri, Aug 09, 2013 at 01:34:46AM +0200, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Friday 19 July 2013 20:55:07 Sakari Ailus wrote: > > Do not allow streaming if a pad with MEDIA_PAD_FL_MUST_CONNECT flag is not > > connected by an active link. > > > >

Re: [RFC 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag

2013-08-08 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Friday 19 July 2013 20:55:07 Sakari Ailus wrote: > Do not allow streaming if a pad with MEDIA_PAD_FL_MUST_CONNECT flag is not > connected by an active link. > > This patch makes it possible to avoid drivers having to check for the most > common case of link

[RFC 2/4] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag

2013-07-19 Thread Sakari Ailus
Do not allow streaming if a pad with MEDIA_PAD_FL_MUST_CONNECT flag is not connected by an active link. This patch makes it possible to avoid drivers having to check for the most common case of link state validation: a sink pad that must be connected. Signed-off-by: Sakari Ailus --- drivers/med