[GIT PATCHES FOR 3.1] v4l-dvb: add and use poll_requested_events() function

From: Hans Verkuil
Date: Sun Jul 17 2011 - 07:20:14 EST

Hi Mauro,

This patch series adds the poll_requested_events() function and uses it in
the V4L2 core and the ivtv driver.

The poll patch is unchanged from the RFCv3 patch posted a week ago and the
other patches are unchanged from the RFCv1 patch series posted last Wednesday
on the linux-media list.

Tested with vivi and ivtv.



The following changes since commit bec969c908bb22931fd5ab8ecdf99de8702a6a31:

[media] v4l: s5p-tv: add TV Mixer driver for Samsung S5P platform (2011-07-14 13:09:48 -0300)

are available in the git repository at:
ssh://linuxtv.org/git/hverkuil/media_tree.git poll

Hans Verkuil (6):
poll: add poll_requested_events() function
ivtv: only start streaming in poll() if polling for input.
videobuf2: only start streaming in poll() if so requested by the poll mask.
videobuf: only start streaming in poll() if so requested by the poll mask.
videobuf2-core: also test for pending events.
vivi: let vb2_poll handle events.

drivers/media/video/ivtv/ivtv-fileops.c | 6 ++-
drivers/media/video/videobuf-core.c | 3 +-
drivers/media/video/videobuf2-core.c | 48 +++++++++++++++++++++---------
drivers/media/video/vivi.c | 9 +-----
fs/eventpoll.c | 19 +++++++++--
fs/select.c | 38 +++++++++++-------------
include/linux/poll.h | 7 ++++-
7 files changed, 78 insertions(+), 52 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/