Re: [PATCH v4 5/7] V4L: Events: Count event queue length

2010-02-13 Thread Hans Verkuil
On Wednesday 10 February 2010 15:58:07 Sakari Ailus wrote: Update the count field properly by setting it to exactly to number of further available events. After working with this for a bit I realized that the max_alloc thing is not going to work. The idea behind it was that you can increase the

[PATCH v4 5/7] V4L: Events: Count event queue length

2010-02-10 Thread Sakari Ailus
Update the count field properly by setting it to exactly to number of further available events. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2-event.c | 29 + include/media/v4l2-event.h |6 +- 2 files