Fixes various subtle corner cases with poll(). Regards, Hans The following changes since commit fab0fca1da5cdc48be051715cd9787df04fdce3a: Merge tag 'media/v5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media (2020-12-14 11:47:37 -0800) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.12c for you to fetch changes up to fd6f2a6f84c80fd5bc066c8837f4611663724a8f: cec: add EPOLLPRI in poll() when dev is unregistered (2020-12-16 10:24:39 +0100) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Alexandre Courbot (2): media: videobuf2: always call poll_wait() on queues media: v4l2-mem2mem: always call poll_wait() on queues Hans Verkuil (4): v4l2-dev/event: add v4l2_event_wake_all() vivid: call v4l2_event_wake_all() on disconnect v4l2-dev: add EPOLLPRI in v4l2_poll() when dev is unregistered cec: add EPOLLPRI in poll() when dev is unregistered drivers/media/cec/core/cec-api.c | 2 +- drivers/media/common/videobuf2/videobuf2-core.c | 11 +++++++++-- drivers/media/test-drivers/vivid/vivid-ctrls.c | 38 ++++++++++++++++++-------------------- drivers/media/v4l2-core/v4l2-dev.c | 15 ++++++++++----- drivers/media/v4l2-core/v4l2-event.c | 17 +++++++++++++++++ drivers/media/v4l2-core/v4l2-mem2mem.c | 15 ++++++++++++--- include/media/v4l2-event.h | 13 +++++++++++-- 7 files changed, 78 insertions(+), 33 deletions(-)