diff options
| author | Hans Verkuil <[email protected]> | 2020-12-01 13:44:43 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-01-04 13:14:25 +0100 |
| commit | 28955a61568ca4ef39ef7fc814b443be24616c64 (patch) | |
| tree | 50e213599c76d44e8d87c338d13d07a23e02461a /tools/perf/scripts/python | |
| parent | 726daf6bafe9d1d9e5c36e1e2a4008941fbc28bd (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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions