Re: [RFC/PATCH v4 11/11] v4l: Make v4l2_subdev inherit from media_entity

2010-09-16 Thread Laurent Pinchart
Hi Mauro, On Thursday 09 September 2010 03:25:38 Mauro Carvalho Chehab wrote: > Em 20-08-2010 12:29, Laurent Pinchart escreveu: > > V4L2 subdevices are media entities. As such they need to inherit from > > (include) the media_entity structure. > > > > When registering/unregistering the subdevice,

Re: [RFC/PATCH v4 11/11] v4l: Make v4l2_subdev inherit from media_entity

2010-09-08 Thread Mauro Carvalho Chehab
Em 20-08-2010 12:29, Laurent Pinchart escreveu: > V4L2 subdevices are media entities. As such they need to inherit from > (include) the media_entity structure. > > When registering/unregistering the subdevice, the media entity is > automatically registered/unregistered. The entity is acquired on d

[RFC/PATCH v4 11/11] v4l: Make v4l2_subdev inherit from media_entity

2010-08-20 Thread Laurent Pinchart
V4L2 subdevices are media entities. As such they need to inherit from (include) the media_entity structure. When registering/unregistering the subdevice, the media entity is automatically registered/unregistered. The entity is acquired on device open and released on device close. Signed-off-by: L