Hans Verkuil dfddb2441f [media] v4l2-fh: add v4l2_fh_is_singular
Several drivers need to do something when the first filehandle is opened
or the last filehandle is closed. Most implement some use count mechanism,
but if they use v4l2_fh, then you can also just check if this is the only
filehandle for the device node. A simple helper function can do this.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-03-22 16:37:58 -03:00
..
2011-03-21 20:31:51 -03:00
2010-12-30 08:02:09 -02:00
2011-01-19 11:45:55 -02:00
2011-03-21 20:31:49 -03:00
2011-03-22 04:53:54 -03:00
2011-01-31 14:19:50 -02:00
2011-03-21 20:31:51 -03:00