Re: [PATCH v4 3/4] media: Add type field to struct media_entity

2016-03-09 Thread Sakari Ailus
Hi Mauro and Laurent, Mauro Carvalho Chehab wrote: > Em Fri, 4 Mar 2016 22:18:50 +0200 > Laurent Pinchart escreveu: > >> Code that processes media entities can require knowledge of the >> structure type that embeds a particular media entity instance in

Re: [PATCH v4 3/4] media: Add type field to struct media_entity

2016-03-05 Thread Mauro Carvalho Chehab
Em Fri, 4 Mar 2016 22:18:50 +0200 Laurent Pinchart escreveu: > Code that processes media entities can require knowledge of the > structure type that embeds a particular media entity instance in order > to cast the entity to the proper object type. This

[PATCH v4 3/4] media: Add type field to struct media_entity

2016-03-04 Thread Laurent Pinchart
Code that processes media entities can require knowledge of the structure type that embeds a particular media entity instance in order to cast the entity to the proper object type. This needs is shown by the presence of the is_media_entity_v4l2_io and is_media_entity_v4l2_subdev functions. The