Re: [PATCH RFC v2 01/16] media: Add some fields to store graph objects

2015-08-07 Thread Mauro Carvalho Chehab
Em Sat, 8 Aug 2015 02:14:46 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Fri, Aug 07, 2015 at 11:19:59AM -0300, Mauro Carvalho Chehab wrote: > > We'll need unique IDs for graph objects and a way to associate > > them with the media interface. > > > > So, add an atomic var to be used to creat

Re: [PATCH RFC v2 01/16] media: Add some fields to store graph objects

2015-08-07 Thread Sakari Ailus
Hi Mauro, On Fri, Aug 07, 2015 at 11:19:59AM -0300, Mauro Carvalho Chehab wrote: > We'll need unique IDs for graph objects and a way to associate > them with the media interface. > > So, add an atomic var to be used to create unique IDs and > a list to store such objects. > > Signed-off-by: Maur

[PATCH RFC v2 01/16] media: Add some fields to store graph objects

2015-08-07 Thread Mauro Carvalho Chehab
We'll need unique IDs for graph objects and a way to associate them with the media interface. So, add an atomic var to be used to create unique IDs and a list to store such objects. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c ind