[GIT PATCHES FOR 3.2] add poll_requested_events() function

From: Hans Verkuil
Date: Mon Oct 24 2011 - 07:57:23 EST


Since there have been no more comment on RFCv4 of this patch series
(http://comments.gmane.org/gmane.linux.kernel/1196926), I'm posting this
pull request for v3.2.

I never received any acks or comments from Al Viro (or anyone else from
linux-fsdevel for that matter), so I'm following Andrew's suggestion and I just
go ahead with this.

This series should be pulled in via the media git repository since the media
drivers are the primary users of the new poll_requested_events() function.

Regards,

Hans

The following changes since commit a63366b935456dd0984f237642f6d4001dcf8017:

[media] mxl111sf: update demod_ops.info.name to "MaxLinear MxL111SF DVB-T demodulator" (2011-10-24
03:20:09 +0200)

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

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 | 18 +++++++++--
fs/select.c | 38 +++++++++++-------------
include/linux/poll.h | 13 ++++++++-
7 files changed, 84 insertions(+), 51 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/