Re: [media-ctl PATCH 1/1] Count users for entities

2012-08-23 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Monday 20 August 2012 18:32:15 Sakari Ailus wrote: > The subdev nodes used to be closed immediately on v4l2_subdev_close(), now > the subdev is only closed if there are no users left anymore. This changes > the API from immediate effect (close) to a reference c

[media-ctl PATCH 1/1] Count users for entities

2012-08-20 Thread Sakari Ailus
The subdev nodes used to be closed immediately on v4l2_subdev_close(), now the subdev is only closed if there are no users left anymore. This changes the API from immediate effect (close) to a reference counting one. Also make functions opening subdevs to close them before returning. This resolves