Hi,
Here's the first version of the V4L2 file handle and event interface
patchset. I posted it as RFC since there are a few issues with the
contents and I have no assurrances that this even is functional at the
moment.
The first patch adds the V4L2 file handle support and the rest are for
V4L2 events.
A few notes on the patches:
- I don't like the locking too much. Perhaps the file handle specific
lock (events->lock) could be dropped in favour of the lock for
v4l2_file_handle in video_device.
- Event queue depth is not controlled at the moment.
- (Un)subscribing all events is not supported.
Comments are very welcome.
Cheers,
--
Sakari Ailus
sakari.ailus@xxxxxxxxxxxxxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html