summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-12-01 13:44:43 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-04 13:14:25 +0100
commit28955a61568ca4ef39ef7fc814b443be24616c64 (patch)
tree50e213599c76d44e8d87c338d13d07a23e02461a /init
parent726daf6bafe9d1d9e5c36e1e2a4008941fbc28bd (diff)
media: v4l2-dev/event: add v4l2_event_wake_all()
When unregistering a V4L2 device node, make sure any filehandles that are waiting for an event are woken up. Add v4l2_event_wake_all() to v4l2-event.c and call it from video_unregister_device(). Otherwise userspace might never know that a device node was removed. [hverkuil: checkpatch: replaced 'if (vdev == NULL)' by 'if (!vdev)'] Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions