[PATCH RFC v3 07/16] media: get rid of unused "extra_links" param on media_entity_init()

2015-08-12 Thread Mauro Carvalho Chehab
Currently, media_entity_init() creates an array with the links, allocated at init time. It provides a parameter (extra_links) that would allocate more links than the current needs, but this is not used by any driver. As we want to be able to do dynamic link allocation/removal, we'll need to change

Re: [PATCH RFC v3 07/16] media: get rid of unused "extra_links" param on media_entity_init()

2015-08-14 Thread Sakari Ailus
Hi Mauro, On Wed, Aug 12, 2015 at 05:14:51PM -0300, Mauro Carvalho Chehab wrote: > Currently, media_entity_init() creates an array with the links, > allocated at init time. It provides a parameter (extra_links) > that would allocate more links than the current needs, but this > is not used by any

Re: [PATCH RFC v3 07/16] media: get rid of unused "extra_links" param on media_entity_init()

2015-08-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Aug 2015 13:33:48 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Wed, Aug 12, 2015 at 05:14:51PM -0300, Mauro Carvalho Chehab wrote: > > Currently, media_entity_init() creates an array with the links, > > allocated at init time. It provides a parameter (extra_links) > > that would al